Fix :doc completion candidates, they do not depend on the current word
Fixes #845
This commit is contained in:
parent
f67d5076c4
commit
35a6d4916e
|
@ -30,7 +30,7 @@ def -hidden -params 1..2 _doc-open %{
|
|||
|
||||
def -params 1..2 \
|
||||
-shell-candidates %{
|
||||
find "${kak_runtime}/../doc/kak/manpages/" -type f -iname "*$@*.gz" -printf '%f\n' | while read l; do
|
||||
find "${kak_runtime}/../doc/kak/manpages/" -type f -iname "*.gz" -printf '%f\n' | while read l; do
|
||||
printf %s\\n "${l%.*}"
|
||||
done
|
||||
} \
|
||||
|
|
Loading…
Reference in New Issue
Block a user