You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However :CtrlSF -R '//.*a line'.*\n.*a line.* prints file with match, but doesn't count it nor highlight:
0 matched lines across 1 files. Done!
a line
// bellow is a line
a line
a line
Also, rg --multiline flag is not supported. Tho I was able to test it with let g:ctrlsf_extra_backend_args={ 'rg': '--multiline' }, it worked the same way as simulated above.
field
value
os
Ubuntu 20.04
vim
Vim 8.2
backend
ag 2.2.0
locale
en_US.UTF-8
vimrc:
letg:ctrlsf_ackprg='ag'
The text was updated successfully, but these errors were encountered:
There is a fundamental problem that the line number in result pane is solid characters, which makes it difficult to match multiline objects (for highlighting) without interfering with line numbers.
test.txt
:CtrlSF 'a line'
works fine:4 matched lines across 1 files. Done!
a line
// bellow is
a line
a line
a line
However
:CtrlSF -R '//.*a line'.*\n.*a line.*
prints file with match, but doesn't count it nor highlight:0 matched lines across 1 files. Done!
a line
// bellow is a line
a line
a line
Also, rg
--multiline
flag is not supported. Tho I was able to test it withlet g:ctrlsf_extra_backend_args={ 'rg': '--multiline' }
, it worked the same way as simulated above.vimrc:
The text was updated successfully, but these errors were encountered: