dyng / ctrlsf.vim

A text searching plugin mimics Ctrl-Shift-F on Sublime Text 2
1.6k stars 86 forks source link

*.hpp can't be find as default #314

Closed Githubwyb closed 3 years ago

Githubwyb commented 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.

But when I use :CtrlSF xxx **/*.*, it has hpp files.

Every ctrlsf config is default.

Githubwyb commented 3 years ago

ack command doesn't have this problem.

dyng commented 3 years ago

The expression used in -G depends on your backend. While rg and ack accept glob as their input, ag and pt accept regular expression.