diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2024-11-25 19:15:05 +0000 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2024-11-25 19:27:38 +0000 |
commit | c5d770d311841ea5230426cc4c868e8db27300a8 (patch) | |
tree | dd21f70127b4b8b5f109baefc8ecc5016f507c91 /runtime/macros/less.sh | |
parent | 9be89f131f87608f224f0ee06d199fcd09d32176 (diff) | |
parent | 081beb3659bd6d8efc3e977a160b1e72becbd8a2 (diff) | |
download | rneovim-c5d770d311841ea5230426cc4c868e8db27300a8.tar.gz rneovim-c5d770d311841ea5230426cc4c868e8db27300a8.tar.bz2 rneovim-c5d770d311841ea5230426cc4c868e8db27300a8.zip |
Merge remote-tracking branch 'upstream/master' into mix_20240309
Diffstat (limited to 'runtime/macros/less.sh')
-rwxr-xr-x | runtime/macros/less.sh | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/runtime/macros/less.sh b/runtime/macros/less.sh deleted file mode 100755 index 125162f10a..0000000000 --- a/runtime/macros/less.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# Shell script to start Vim with less.vim. -# Read stdin if no arguments were given and stdin was redirected. - -if test -t 1; then - if test $# = 0; then - if test -t 0; then - echo "Missing filename" 1>&2 - exit - fi - nvim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' - - else - nvim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' "$@" - fi -else - # Output is not a terminal, cat arguments or stdin - if test $# = 0; then - if test -t 0; then - echo "Missing filename" 1>&2 - exit - fi - cat - else - cat "$@" - fi -fi |