diff --git a/rc/base/ctags.kak b/rc/base/ctags.kak index cc78af74..11ebe082 100644 --- a/rc/base/ctags.kak +++ b/rc/base/ctags.kak @@ -16,7 +16,7 @@ def -params 0..1 \ export tagname=${1:-${kak_selection}} for tags in $(printf %s\\n "${kak_opt_ctagsfiles}" | tr ':' '\n'); do export tagroot="$(readlink -f $(dirname "$tags"))/" - readtags -t "${tags}" ${tagname} | awk -F '\t|\n' -e ' + readtags -t "${tags}" ${tagname} | awk -F '\t|\n' ' /[^\t]+\t[^\t]+\t\/\^.*\$?\// { re=$0; sub(".*\t/\\^", "", re); sub("\\$?/$", "", re); gsub("(\\{|\\}|\\\\E).*$", "", re); diff --git a/rc/extra/clang.kak b/rc/extra/clang.kak index 6aeeecd9..ef540ca8 100644 --- a/rc/extra/clang.kak +++ b/rc/extra/clang.kak @@ -42,7 +42,7 @@ def clang-parse -params 0..1 -docstring "Parse the contents of the current buffe header="${kak_cursor_line}.${kak_cursor_column}@${kak_timestamp}" compl=$(clang++ -x ${ft} -fsyntax-only ${kak_opt_clang_options} \ -Xclang -code-completion-brief-comments -Xclang -code-completion-at=${pos} - < ${dir}/buf 2> ${dir}/stderr | - awk -F ': ' -e ' + awk -F ': ' ' /^COMPLETION:/ && ! /\(Hidden\)/ { id=$2 gsub(/ +$/, "", id) diff --git a/rc/extra/git-tools.kak b/rc/extra/git-tools.kak index 037371ff..58405767 100644 --- a/rc/extra/git-tools.kak +++ b/rc/extra/git-tools.kak @@ -64,7 +64,7 @@ def -params 1.. \ try %{ addhl flag_lines GitBlame git_blame_flags } set buffer=$kak_bufname git_blame_flags '$kak_timestamp' }" | kak -p ${kak_session} - git blame "$@" --incremental ${kak_buffile} | awk -e ' + git blame "$@" --incremental ${kak_buffile} | awk ' function send_flags(text, flag, i) { if (line == "") { return; } text=substr(sha,1,8) " " dates[sha] " " authors[sha] @@ -94,7 +94,7 @@ def -params 1.. \ } update_diff() { - git diff -U0 $kak_buffile | awk -e ' + git diff -U0 $kak_buffile | awk ' BEGIN { line=0 flags=ENVIRON["kak_timestamp"]