diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-03-11 18:22:02 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-03-11 18:22:02 -0500 |
commit | b030c905060f5275be5ef23e54030fdd4ab0dc2c (patch) | |
tree | 499909db6c24fd9ac451dbe006553d2fa670e56d | |
parent | 66a75fb835575b7a909102cf2345e132648935a6 (diff) | |
parent | ffaaf5df319a2261889d9ea4ab528cc49c838780 (diff) | |
download | rneovim-b030c905060f5275be5ef23e54030fdd4ab0dc2c.tar.gz rneovim-b030c905060f5275be5ef23e54030fdd4ab0dc2c.tar.bz2 rneovim-b030c905060f5275be5ef23e54030fdd4ab0dc2c.zip |
Merge pull request #4440 from djrenren/nvim-in-macros
Replace vim with nvim in macros
-rw-r--r-- | runtime/macros/less.bat | 4 | ||||
-rwxr-xr-x | runtime/macros/less.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/runtime/macros/less.bat b/runtime/macros/less.bat index bbe619bc92..7395a70003 100644 --- a/runtime/macros/less.bat +++ b/runtime/macros/less.bat @@ -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" %* ) diff --git a/runtime/macros/less.sh b/runtime/macros/less.sh index e29958f7ad..125162f10a 100755 --- a/runtime/macros/less.sh +++ b/runtime/macros/less.sh @@ -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 |