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.
2 parents f74ef64 + fef8a23 commit 5b2cfefCopy full SHA for 5b2cfef
1 file changed
autoload/ctrlp.vim
@@ -1878,6 +1878,11 @@ fu! s:highlight(pat, grp)
1878
en
1879
1880
cal matchadd('CtrlPLinePre', '^>')
1881
+ elseif !empty(a:pat) && s:regexp &&
1882
+ \ exists('g:ctrlp_regex_always_higlight') &&
1883
+ \ g:ctrlp_regex_always_higlight
1884
+ let pat = substitute(a:pat, '\\\@<!\^', '^> \\zs', 'g')
1885
+ cal matchadd(a:grp, ( s:martcs == '' ? '\c' : '\C').pat)
1886
1887
endf
1888
0 commit comments