make.kak: quote echo parameter in errjump

This commit is contained in:
Maxime Coste 2012-08-10 18:47:54 +02:00
parent 20655f9290
commit 7d3675fe33

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+))?:([^\n]+)\n<ret>'; %sh{ echo "edit ${kak_reg_1} ${kak_reg_2} ${kak_reg_3}; echo ${kak_reg_4}" } } 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} }" } }