makefile.kak: remove reqex mismatch between highlight and indent
This commit is contained in:
parent
4c3795faa2
commit
6e86766966
|
@ -55,7 +55,7 @@ define-command -hidden makefile-indent-on-new-line %{
|
|||
# preserve previous line indent
|
||||
try %{ execute-keys -draft \;K<a-&> }
|
||||
## If the line above is a target indent with a tab
|
||||
try %{ execute-keys -draft Z k<a-x> <a-k>^[^\t].*?(::|:|!)<ret> z i<tab> }
|
||||
try %{ execute-keys -draft Z k<a-x> <a-k>^\S.*?(::|:|!)<ret> z i<tab> }
|
||||
# cleanup trailing white space son previous line
|
||||
try %{ execute-keys -draft k<a-x> s \h+$ <ret>d }
|
||||
# indent after some keywords
|
||||
|
|
Loading…
Reference in New Issue
Block a user