mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-23 11:32:20 +03:00
Fix deindentation in scala.kak
This commit is contained in:
parent
d5fe3a2b12
commit
085fcc2088
@ -69,6 +69,8 @@ define-command -hidden scala-indent-on-new-line %[
|
||||
try %[ execute-keys -draft k : scala-trim-indent <ret> ]
|
||||
# indent after lines ending with {
|
||||
try %[ execute-keys -draft k <a-x> <a-k> \{$ <ret> j <a-gt> ]
|
||||
# deindent closing brace when after cursor
|
||||
try %[ execute-keys -draft <a-x> <a-k> ^\h*\} <ret> gh / \} <ret> m <a-S> 1<a-&> ]
|
||||
]
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user