mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
Merge pull request #4440 from djrenren/nvim-in-macros
Replace vim with nvim in macros
This commit is contained in:
@@ -4,7 +4,7 @@ rem Read stdin if no arguments were given.
|
|||||||
rem Written by Ken Takata.
|
rem Written by Ken Takata.
|
||||||
|
|
||||||
if "%1"=="" (
|
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 (
|
) 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" %*
|
||||||
)
|
)
|
||||||
|
@@ -8,9 +8,9 @@ if test -t 1; then
|
|||||||
echo "Missing filename" 1>&2
|
echo "Missing filename" 1>&2
|
||||||
exit
|
exit
|
||||||
fi
|
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
|
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
|
fi
|
||||||
else
|
else
|
||||||
# Output is not a terminal, cat arguments or stdin
|
# Output is not a terminal, cat arguments or stdin
|
||||||
|
Reference in New Issue
Block a user