parent
5d9f3b7f3f
commit
a132985888
|
@ -14,7 +14,7 @@ def lint -docstring 'Parse the current buffer with a linter' %{
|
||||||
printf '%s\n' "eval -draft %{
|
printf '%s\n' "eval -draft %{
|
||||||
edit! -fifo $dir/fifo *lint-output*
|
edit! -fifo $dir/fifo *lint-output*
|
||||||
set buffer filetype make
|
set buffer filetype make
|
||||||
set buffer _make_current_error_line 0
|
set buffer make_current_error_line 0
|
||||||
hook -group fifo buffer BufCloseFifo .* %{
|
hook -group fifo buffer BufCloseFifo .* %{
|
||||||
nop %sh{ rm -r '$dir' }
|
nop %sh{ rm -r '$dir' }
|
||||||
rmhooks buffer fifo
|
rmhooks buffer fifo
|
||||||
|
|
|
@ -22,7 +22,7 @@ The syntaxic errors detected during parsing are shown when auto-diagnostics are
|
||||||
printf %s\\n "eval -draft %{
|
printf %s\\n "eval -draft %{
|
||||||
edit! -fifo ${dir}/fifo *clang-output*
|
edit! -fifo ${dir}/fifo *clang-output*
|
||||||
set buffer filetype make
|
set buffer filetype make
|
||||||
set buffer _make_current_error_line 0
|
set buffer make_current_error_line 0
|
||||||
hook -group fifo buffer BufCloseFifo .* %{
|
hook -group fifo buffer BufCloseFifo .* %{
|
||||||
nop %sh{ rm -r ${dir} }
|
nop %sh{ rm -r ${dir} }
|
||||||
rmhooks buffer fifo
|
rmhooks buffer fifo
|
||||||
|
|
Loading…
Reference in New Issue
Block a user