diff options
Diffstat (limited to 'fish/functions/nvim.fish')
| -rw-r--r-- | fish/functions/nvim.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fish/functions/nvim.fish b/fish/functions/nvim.fish index 6321439..27b45d8 100644 --- a/fish/functions/nvim.fish +++ b/fish/functions/nvim.fish @@ -1,6 +1,6 @@ -function nvim --description 'open a new nvim instance or connect to an existing one using nvr(1)' +function nvim --wraps nvim --description 'open a new nvim instance or connect to an existing one using nvr(1)' # if `nvr` is not installed, nevermind. just run `nvim` - if ! command -v nvr >/dev/null + if ! command -q nvr command nvim $argv end |
