aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-12-04 18:36:54 -0500
committerGitHub <noreply@github.com>2020-12-04 18:36:54 -0500
commitb940cbb85875d4dce8dd20620b093be5a9b66283 (patch)
treef38b2b350d24696649974dc2d63a8501942f1ae6 /runtime/plugin
parent0c8d6ab536ec2e8e95c0de441e6ad1fdfccc909f (diff)
parentba2e94d223d6cf4bd2594f6f2b2bfeb2aaa29368 (diff)
downloadrneovim-b940cbb85875d4dce8dd20620b093be5a9b66283.tar.gz
rneovim-b940cbb85875d4dce8dd20620b093be5a9b66283.tar.bz2
rneovim-b940cbb85875d4dce8dd20620b093be5a9b66283.zip
Merge pull request #13417 from shade-of-noon/man_count.13411
runtime: Fix man.vim count handling.
Diffstat (limited to 'runtime/plugin')
-rw-r--r--runtime/plugin/man.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/plugin/man.vim b/runtime/plugin/man.vim
index e762eb3664..689aa32ef3 100644
--- a/runtime/plugin/man.vim
+++ b/runtime/plugin/man.vim
@@ -5,9 +5,9 @@ if exists('g:loaded_man')
endif
let g:loaded_man = 1
-command! -bang -bar -range=0 -complete=customlist,man#complete -nargs=* Man
+command! -bang -bar -range=-1 -complete=customlist,man#complete -nargs=* Man
\ if <bang>0 | set ft=man |
- \ else | call man#open_page(v:count, v:count1, <q-mods>, <f-args>) | endif
+ \ else | call man#open_page(<count>, <q-mods>, <f-args>) | endif
augroup man
autocmd!