Merge pull request #4440 from djrenren/nvim-in-macros

Replace vim with nvim in macros
This commit is contained in:
Justin M. Keyes 2016-03-11 18:22:02 -05:00
commit b030c90506
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ rem Read stdin if no arguments were given.
rem Written by Ken Takata.
if "%1"=="" (
vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" -
nvim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" -
) else (
vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" %*
nvim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" %*
)

View File

@ -8,9 +8,9 @@ if test -t 1; then
echo "Missing filename" 1>&2
exit
fi
vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' -
nvim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' -
else
vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' "$@"
nvim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' "$@"
fi
else
# Output is not a terminal, cat arguments or stdin