diff --git a/rc/base/lint.kak b/rc/base/lint.kak index ff3a8b47..4eb0bef8 100644 --- a/rc/base/lint.kak +++ b/rc/base/lint.kak @@ -14,7 +14,7 @@ def lint -docstring 'Parse the current buffer with a linter' %{ printf '%s\n' "eval -draft %{ edit! -fifo $dir/fifo *lint-output* set buffer filetype make - set buffer _make_current_error_line 0 + set buffer make_current_error_line 0 hook -group fifo buffer BufCloseFifo .* %{ nop %sh{ rm -r '$dir' } rmhooks buffer fifo diff --git a/rc/extra/clang.kak b/rc/extra/clang.kak index daeb8c83..3da9f914 100644 --- a/rc/extra/clang.kak +++ b/rc/extra/clang.kak @@ -22,7 +22,7 @@ The syntaxic errors detected during parsing are shown when auto-diagnostics are printf %s\\n "eval -draft %{ edit! -fifo ${dir}/fifo *clang-output* set buffer filetype make - set buffer _make_current_error_line 0 + set buffer make_current_error_line 0 hook -group fifo buffer BufCloseFifo .* %{ nop %sh{ rm -r ${dir} } rmhooks buffer fifo