1
0
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:
Shidong Wang 2018-12-25 20:40:47 +08:00
parent 9daf72522a
commit 716e59da54

View File

@ -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