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 583a8a2 + 5b2cfef commit e346ae1Copy full SHA for e346ae1
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