From 391e58625f249abed45b8e1fcdb3bdd18f580ada Mon Sep 17 00:00:00 2001 From: Justin Frank Date: Sun, 16 Sep 2018 17:05:32 -0700 Subject: [PATCH] fixed mistakenly indenting matching characters --- rc/core/kakrc.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/kakrc.kak b/rc/core/kakrc.kak index a0f989c4..1d03eb5f 100644 --- a/rc/core/kakrc.kak +++ b/rc/core/kakrc.kak @@ -97,7 +97,7 @@ hook -group kak-highlight global WinSetOption filetype=kak %{ add-highlighter wi hook global WinSetOption filetype=kak %~ hook window InsertChar \n -group kak-indent kak-indent-on-new-line hook window InsertChar [>)}\]] -group kak-indent kak-indent-on-closing-matching - hook window InsertChar (?![>)}\]])[^\s\w] -group kak-indent kak-indent-on-closing-char + hook window InsertChar (?![[{(<>)}\]])[^\s\w] -group kak-indent kak-indent-on-closing-char # cleanup trailing whitespaces on current line insert end hook window ModeChange insert:.* -group kak-indent %{ try %{ execute-keys -draft \; s ^\h+$ d } } set-option buffer extra_word_chars '-'