make.kak: errjump also display the error description in the status line

This commit is contained in:
Maxime Coste 2012-08-08 19:37:32 +02:00
parent 691a6328b1
commit 1eb2b8321b

View File

@ -16,4 +16,4 @@ hook global WinSetOption filetype=make %{
hook global WinSetOption filetype=(?!make).* %{ rmhl make-highlight; } hook global WinSetOption filetype=(?!make).* %{ rmhl make-highlight; }
def errjump %{ exec 'xs^([^:]+):(\d+)(?::(\d+))?<ret>'; edit %sh{ echo ${kak_reg_1} ${kak_reg_2} ${kak_reg_3} } } def errjump %{ exec 'xs^([^:]+):(\d+)(?::(\d+))?:([^\n]+)\n<ret>'; %sh{ echo "edit ${kak_reg_1} ${kak_reg_2} ${kak_reg_3}; echo ${kak_reg_4}" } }