diff --git a/rc/tools/doc.kak b/rc/tools/doc.kak index 5ce9a3532..4b6afe328 100644 --- a/rc/tools/doc.kak +++ b/rc/tools/doc.kak @@ -134,7 +134,7 @@ define-command -params 1 -hidden doc-render %{ map buffer normal :doc-follow-link } -define-command doc -params 0..2 -menu -docstring %{ +define-command doc -params 0..2 -docstring %{ doc []: open a buffer containing documentation about a given topic An optional keyword argument can be passed to the function, which will be automatically selected in the documentation @@ -165,7 +165,7 @@ define-command doc -params 0..2 -menu -docstring %{ } } -complete-command doc shell-script-candidates %{ +complete-command -menu doc shell-script-candidates %{ case "$kak_token_to_complete" in 0) find -L \