1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-24 07:53:41 +03:00

Allow instant completion of doc pages

Closes #750
This commit is contained in:
Frank LENORMAND 2016-08-30 17:23:42 +03:00
parent b6cab458ed
commit 47d9f4a993

View File

@ -29,7 +29,7 @@ def -hidden -params 1..2 _doc-open %{
}
def -params 1..2 \
-shell-completion %{
-shell-candidates %{
find "${kak_runtime}/../doc/kak/manpages/" -type f -iname "*$@*.gz" -printf '%f\n' | while read l; do
printf %s\\n "${l%.*}"
done