diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-03-04 21:35:07 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-03-04 21:35:07 +0100 |
commit | 6057748a1af2260b4ab9630f21fe71f42f91250d (patch) | |
tree | 404ed7198be078a11d3ef6271bf7a2aba20e1d75 /src/tag.c | |
parent | 6c3843ca8ab105bfb85f6ea8bcec2cbc03f46e7f (diff) | |
download | vim-git-6057748a1af2260b4ab9630f21fe71f42f91250d.tar.gz |
patch 8.2.2568: second time a preview popup is opened highlight is not setv8.2.2568
Problem: Second time a preview popup is opened highlight is not set.
(Gabriel Dupras)
Solution: Apply 'previewpopup' after getting the file. (closes #7928)
Diffstat (limited to 'src/tag.c')
-rw-r--r-- | src/tag.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3510,6 +3510,11 @@ jumpto_tag( // Save value of no_hlsearch, jumping to a tag is not a real search save_no_hlsearch = no_hlsearch; #endif +#ifdef FEAT_PROP_POPUP + // getfile() may have cleared options, apply 'previewpopup' again. + if (g_do_tagpreview != 0 && *p_pvp != NUL) + parse_previewpopup(curwin); +#endif /* * If 'cpoptions' contains 't', store the search pattern for the "n" |