From 085fcc2088d0eec5575b68cf886e5c2f982e37f7 Mon Sep 17 00:00:00 2001 From: John Isom Date: Wed, 29 Jul 2020 21:25:55 -0600 Subject: [PATCH] Fix deindentation in scala.kak --- rc/filetype/scala.kak | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rc/filetype/scala.kak b/rc/filetype/scala.kak index 29884d20a..48dfa9377 100644 --- a/rc/filetype/scala.kak +++ b/rc/filetype/scala.kak @@ -69,6 +69,8 @@ define-command -hidden scala-indent-on-new-line %[ try %[ execute-keys -draft k : scala-trim-indent ] # indent after lines ending with { try %[ execute-keys -draft k \{$ j ] + # deindent closing brace when after cursor + try %[ execute-keys -draft ^\h*\} gh / \} m 1 ] ] ]