From 7591924f853eb0a7bd6a6466a2127a2676fe9b87 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 20 Jun 2018 20:20:50 +1000 Subject: [PATCH] ctags.kak: Remove tags starting with '!' from ctags completion --- rc/base/ctags.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/base/ctags.kak b/rc/base/ctags.kak index 3dd3e868..70069a19 100644 --- a/rc/base/ctags.kak +++ b/rc/base/ctags.kak @@ -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} \