1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-08-16 16:20:38 +03:00

support different make_error_patterns for different file types

This commit is contained in:
Bob Qi 2024-05-14 13:11:42 +08:00
parent 4e5631daf3
commit dc9cc5be0c

View File

@ -20,6 +20,7 @@ define-command -params .. \
edit! -fifo ${output} -scroll *make*
set-option buffer filetype make
set-option buffer jump_current_line 0
set-option buffer make_error_pattern '$kak_opt_make_error_pattern'
hook -always -once buffer BufCloseFifo .* %{ nop %sh{ rm -r $(dirname ${output}) } }
}"
}}