mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 13:02:01 +03:00
ctags.kak: Remove tags starting with '!' from ctags completion
This commit is contained in:
parent
3d4ee7d201
commit
7591924f85
@ -16,7 +16,7 @@ define-command -params ..1 \
|
||||
while read -r tags; do
|
||||
namecache="${tags%/*}/.kak.${tags##*/}.namecache"
|
||||
if [ -z "$(find "$namecache" -prune -newer "$tags")" ]; then
|
||||
cut -f 1 "$tags" | uniq > "$namecache"
|
||||
cut -f 1 "$tags" | grep -v '^!' | uniq > "$namecache"
|
||||
fi
|
||||
cat "$namecache"
|
||||
done} \
|
||||
|
Loading…
Reference in New Issue
Block a user