summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-01 22:40:44 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-01 22:40:44 +0200
commit90f3e7ac56056ffad50bac9d4497b5830c37ab26 (patch)
tree5a787144818c26a791d8a0c5cfa5969483b67e29 /src/ex_cmds.c
parentf4fd7ecbc025e8022c3fbfe52bc512b907cb5459 (diff)
downloadvim-git-90f3e7ac56056ffad50bac9d4497b5830c37ab26.tar.gz
patch 8.1.1789: cannot see file name of preview popup windowv8.1.1789
Problem: Cannot see file name of preview popup window. Solution: Add the file name as the title.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 57c98ae92..f79f054ec 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3172,6 +3172,10 @@ do_ecmd(
#ifdef FEAT_TITLE
maketitle();
#endif
+#ifdef FEAT_TEXT_PROP
+ if (popup_is_popup(curwin) && curwin->w_p_pvw)
+ popup_set_title(curwin);
+#endif
}
#ifdef FEAT_DIFF