aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/options.lua6
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"}
}
},
{