We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d798ad commit a49bd69Copy full SHA for a49bd69
1 file changed
autoload/ctrlp.vim
@@ -2714,6 +2714,15 @@ fu! ctrlp#nosy()
2714
retu !( has('syntax') && exists('g:syntax_on') )
2715
endf
2716
2717
+fu! s:hiupdate()
2718
+ for [ke, va] in items(s:hlgrps)
2719
+ let ke = 'CtrlP' . ke
2720
+ if hlexists(ke)
2721
+ exe 'hi link' ke va
2722
+ en
2723
+ endfo
2724
+endf
2725
+
2726
fu! ctrlp#hicheck(grp, defgrp)
2727
if !hlexists(a:grp)
2728
exe 'hi link' a:grp a:defgrp
@@ -2847,6 +2856,7 @@ if has('autocmd')
2847
2856
au BufEnter ControlP cal s:checkbuf()
2848
2857
au BufLeave ControlP noa cal s:Close()
2849
2858
au VimLeavePre * cal s:leavepre()
2859
+ au ColorScheme * cal s:hiupdate()
2850
2860
aug END
2851
2861
en
2852
2862
0 commit comments