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
|
while read -r tags; do
|
||||||
namecache="${tags%/*}/.kak.${tags##*/}.namecache"
|
namecache="${tags%/*}/.kak.${tags##*/}.namecache"
|
||||||
if [ -z "$(find "$namecache" -prune -newer "$tags")" ]; then
|
if [ -z "$(find "$namecache" -prune -newer "$tags")" ]; then
|
||||||
cut -f 1 "$tags" | uniq > "$namecache"
|
cut -f 1 "$tags" | grep -v '^!' | uniq > "$namecache"
|
||||||
fi
|
fi
|
||||||
cat "$namecache"
|
cat "$namecache"
|
||||||
done} \
|
done} \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user