1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 10:40:03 +08:00

Fix pt comman din windows

should not use '.' as last argv, it will cause duplicate files in
result.
This commit is contained in:
Shidong Wang 2018-12-29 01:03:15 +08:00
parent 25a50ab365
commit 510fb8de92

View File

@ -52,7 +52,7 @@ else
" For Pt(the platinum searcher)
" NOTE: It also supports windows.
call denite#custom#var('file_rec', 'command',
\ ['pt', '--follow', '--nocolor', '--hidden', '-g=', '.'])
\ ['pt', '--nocolor', '--ignore', '.git', '--hidden', '-g=', ''])
endif
endif