diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2017-11-21 18:35:51 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-11-22 00:35:51 +0100 |
commit | 7b686881a16a637e4e0a9e202c4b64bafc4eb8e8 (patch) | |
tree | f2fac847b166ce4d457db8d44b6d8644f5dd7a8b /src | |
parent | 9b6bf8fa3728aaa39d0e8694a720da783d141ff7 (diff) | |
download | rneovim-7b686881a16a637e4e0a9e202c4b64bafc4eb8e8.tar.gz rneovim-7b686881a16a637e4e0a9e202c4b64bafc4eb8e8.tar.bz2 rneovim-7b686881a16a637e4e0a9e202c4b64bafc4eb8e8.zip |
win: default grepprg to findstr.exe (#7611)
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/options.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 52e478e78a..cb3e5ad856 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -993,11 +993,11 @@ return { expand=true, varname='p_gp', defaults={ - condition='UNIX', + condition='WIN32', -- Add an extra file name so that grep will always -- insert a file name in the match line. */ - if_true={vi="grep -n $* /dev/null"}, - if_false={vi="grep -n "}, + if_true={vi="findstr /n $* nul"}, + if_false={vi="grep -n $* /dev/null"} } }, { |