We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 499fbc2 commit 5162ff0Copy full SHA for 5162ff0
plugin/viewdoc_help.vim
@@ -13,8 +13,8 @@ let g:loaded_viewdoc_help = 1
13
14
""" Interface
15
" - command
16
-command -bar -bang -nargs=1 -complete=help ViewDocHelp
17
- \ call ViewDoc('<bang>'=='' ? 'new' : 'doc', <f-args>, 'help')
+command -bar -bang -nargs=? -complete=help ViewDocHelp
+ \ call ViewDoc('<bang>'=='' ? 'new' : 'doc', <q-args>, 'help')
18
" - abbrev
19
if !exists('g:no_plugin_abbrev') && !exists('g:no_viewdoc_abbrev')
20
cnoreabbrev <expr> h getcmdtype()==':' && getcmdline()=='h' ? 'ViewDocHelp' : 'h'
0 commit comments