Back to regular -shell-completion for ctags completer

The candidates ranker is too slow to handle huge (200M+) tag files
This commit is contained in:
Maxime Coste 2016-03-25 00:16:42 +00:00
parent d3ef2d36ea
commit 15b241b942

View File

@ -6,9 +6,9 @@
decl str-list ctagsfiles 'tags'
def -params 0..1 \
-shell-candidates '
-shell-completion '
( for tags in $(printf %s "${kak_opt_ctagsfiles}" | tr \':\' \'\n\');
do readtags -t "${tags}" -p ""
do readtags -t "${tags}" -p "$1"
done ) | cut -f 1 | sort | uniq' \
-docstring 'Jump to tag definition' \
tag \