From 0b5dcf062fd9af87428d599d26acad2dcecb3d30 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Fri, 29 Jul 2022 20:47:57 +0200 Subject: [PATCH] Use menu behavior when completing doc We can complete every valid argument. --- rc/tools/doc.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 []: 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