diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-03-31 20:05:53 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-03-31 20:05:53 +0100 |
| commit | 030b248a30d9bd35cc61ba621318ed4786cae3fc (patch) | |
| tree | 6a9a8876741ef0a8a19af3bea796dade4d85744c | |
| parent | c458e5f1299b44d1c3c89d0243da566916768b66 (diff) | |
Remove debug commands from rc files
| -rw-r--r-- | rc/cpp.kak | 1 | ||||
| -rw-r--r-- | rc/ctags.kak | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -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 }' |
