Closed Githubwyb closed 3 years ago
I use default config with ctrlsf.vim, but when I use :CtrlSF xxx to search, the hpp files not in the results. :CtrlSF -G **/*.* xxx show the same result. :CtrlSF -G **/*.hpp xxx show 0 files.
:CtrlSF xxx
:CtrlSF -G **/*.* xxx
:CtrlSF -G **/*.hpp xxx
But when I use :CtrlSF xxx **/*.*, it has hpp files.
:CtrlSF xxx **/*.*
Every ctrlsf config is default.
ack command doesn't have this problem.
The expression used in -G depends on your backend. While rg and ack accept glob as their input, ag and pt accept regular expression.
-G
rg
ack
ag
pt
I use default config with ctrlsf.vim, but when I use
:CtrlSF xxx
to search, the hpp files not in the results.:CtrlSF -G **/*.* xxx
show the same result.:CtrlSF -G **/*.hpp xxx
show 0 files.But when I use
:CtrlSF xxx **/*.*
, it has hpp files.Every ctrlsf config is default.