mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:20:04 +08:00
Fix pt support in windows
This commit is contained in:
parent
9daf72522a
commit
716e59da54
@ -83,7 +83,7 @@ function! s:get_search_cmd(expr) abort
|
||||
" current directory.
|
||||
let cmd += [a:expr]
|
||||
" in window, when using rg, ag, need to add '.' at the end.
|
||||
if s:SYS.isWindows && (s:grep_exe == 'rg' || s:grep_exe == 'ag' )
|
||||
if s:SYS.isWindows && (s:grep_exe == 'rg' || s:grep_exe == 'ag' || s:grep_exe == 'pt' )
|
||||
let cmd += ['.']
|
||||
endif
|
||||
let cmd += s:grep_ropt
|
||||
|
Loading…
Reference in New Issue
Block a user