diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-30 22:32:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-30 22:32:34 +0200 |
commit | c6896e20f8e7e8d9fe0fd1ad333aae1130d714e1 (patch) | |
tree | 4155d494ff12b6a2caf736f8f26e4edb826cb0c1 /src/buffer.c | |
parent | 402502d0e4019ca97330eff40b9fb13736304896 (diff) |
patch 8.1.1431: popup window listed as "Scratch"v8.1.1431
Problem: Popup window listed as "Scratch".
Solution: List them as "Popup".
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index ea61c5ad03..3bfb6396ba 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -5782,6 +5782,10 @@ buf_spname(buf_T *buf) if (bt_prompt(buf)) return (char_u *)_("[Prompt]"); #endif +#ifdef FEAT_TEXT_PROP + if (bt_popup(buf)) + return (char_u *)_("[Popup]"); +#endif return (char_u *)_("[Scratch]"); } |