summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2022-07-29 20:47:57 +0200
committerJohannes Altmanninger <aclopte@gmail.com>2022-07-30 22:17:32 +0200
commit0b5dcf062fd9af87428d599d26acad2dcecb3d30 (patch)
treef96e1d04a1aed38d0b6d8f7a72771b4b77890921
parent69053d96239e5ef1f97522949d8c712fa5846eab (diff)
Use menu behavior when completing doc
We can complete every valid argument.
-rw-r--r--rc/tools/doc.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/tools/doc.kak b/rc/tools/doc.kak
index d5227ee4..1fe5b577 100644
--- a/rc/tools/doc.kak
+++ b/rc/tools/doc.kak
@@ -160,7 +160,7 @@ define-command -params 0..2 \
' < $page | tr '[A-Z ]' '[a-z-]'
fi;;
esac
- } \
+ } -menu \
doc -docstring %{
doc <topic> [<keyword>]: 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