summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-03-31 20:05:53 +0100
committerMaxime Coste <frrrwww@gmail.com>2014-03-31 20:05:53 +0100
commit030b248a30d9bd35cc61ba621318ed4786cae3fc (patch)
tree6a9a8876741ef0a8a19af3bea796dade4d85744c /rc
parentc458e5f1299b44d1c3c89d0243da566916768b66 (diff)
Remove debug commands from rc files
Diffstat (limited to 'rc')
-rw-r--r--rc/cpp.kak1
-rw-r--r--rc/ctags.kak2
2 files changed, 1 insertions, 2 deletions
diff --git a/rc/cpp.kak b/rc/cpp.kak
index 4a154576..bc82e7f8 100644
--- a/rc/cpp.kak
+++ b/rc/cpp.kak
@@ -99,7 +99,6 @@ def alt -docstring "Jump to the alternate file (header/implementation)" %{ %sh{
done
;;
esac
- echo debug ${altname}
if [ -f ${altname} ]; then
echo edit "'${altname}'"
else
diff --git a/rc/ctags.kak b/rc/ctags.kak
index 67c1bb26..dc7a2fcf 100644
--- a/rc/ctags.kak
+++ b/rc/ctags.kak
@@ -12,7 +12,7 @@ def -shell-params \
readtags ${tagname} | awk -F '\t|\n' -e '
/[^\t]+\t[^\t]+\t\/\^.*\$\// {
gsub("^/\\^", "", $3); gsub("\\$/$", "", $3); gsub("(\\{|\\}).*$", "", $3);
- out = out " %{" $2 " [" $3 "]} %{try %{ edit %{" $2 "}; exec %{/\\Q" $3 "<ret>vc} } catch %{ debug %{" $3 "}; echo %{unable to find tag} } }"
+ out = out " %{" $2 " [" $3 "]} %{try %{ edit %{" $2 "}; exec %{/\\Q" $3 "<ret>vc} } catch %{ echo %{unable to find tag} } }"
}
/[^\t]+\t[^\t]+\t([0-9]+)/ { out = out " %{" $2 ":" $3 "} %{edit %{" $2 "} %{" $3 "}}" }
END { print length(out) == 0 ? "echo -color Error no such tag " ENVIRON["tagname"] : "menu -auto-single " out }'