Fix uses of renamed make_current_error_line option

Fixes #952
This commit is contained in:
Maxime Coste 2016-12-10 13:36:51 +00:00
parent 5d9f3b7f3f
commit a132985888
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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