mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2568: second time a preview popup is opened highlight is not set
Problem: Second time a preview popup is opened highlight is not set. (Gabriel Dupras) Solution: Apply 'previewpopup' after getting the file. (closes #7928)
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user