From 6e86766966fc641e6788cf6f1568009bd4272e1a Mon Sep 17 00:00:00 2001 From: codesoap Date: Tue, 30 Jul 2019 10:00:04 +0200 Subject: [PATCH] makefile.kak: remove reqex mismatch between highlight and indent --- rc/filetype/makefile.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/makefile.kak b/rc/filetype/makefile.kak index fcc51ac8..452f6446 100644 --- a/rc/filetype/makefile.kak +++ b/rc/filetype/makefile.kak @@ -55,7 +55,7 @@ define-command -hidden makefile-indent-on-new-line %{ # preserve previous line indent try %{ execute-keys -draft \;K } ## If the line above is a target indent with a tab - try %{ execute-keys -draft Z k ^[^\t].*?(::|:|!) z i } + try %{ execute-keys -draft Z k ^\S.*?(::|:|!) z i } # cleanup trailing white space son previous line try %{ execute-keys -draft k s \h+$ d } # indent after some keywords