0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.1431: popup window listed as "Scratch"

Problem:    Popup window listed as "Scratch".
Solution:   List them as "Popup".
This commit is contained in:
Bram Moolenaar
2019-05-30 22:32:34 +02:00
parent 402502d0e4
commit c6896e20f8
6 changed files with 24 additions and 5 deletions

View File

@@ -5781,6 +5781,10 @@ buf_spname(buf_T *buf)
#ifdef FEAT_JOB_CHANNEL
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]");
}