diff options
| author | John Isom <John.Isom2001@gmail.com> | 2020-07-29 17:02:50 -0600 |
|---|---|---|
| committer | John Isom <John.Isom2001@gmail.com> | 2020-07-29 17:02:50 -0600 |
| commit | e43981422e7068d3aa6e8a3d81e09e37a8fe2bc3 (patch) | |
| tree | e831444e3949c20b603075ede7d9d935bc64939c /rc/filetype/java.kak | |
| parent | 9c957167fadb470a91a8b9405376c73fbfa07f2d (diff) | |
Update deindentation in java.kak
Diffstat (limited to 'rc/filetype/java.kak')
| -rw-r--r-- | rc/filetype/java.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/filetype/java.kak b/rc/filetype/java.kak index a2b18fd1..12cb99a3 100644 --- a/rc/filetype/java.kak +++ b/rc/filetype/java.kak @@ -57,7 +57,7 @@ define-command -hidden java-indent-on-new-line %~ # indent after keywords try %[ execute-keys -draft <semicolon><a-F>)MB <a-k> \A(if|else|while|for|try|catch)\h*\(.*\)\h*\n\h*\n?\z <ret> s \A|.\z <ret> 1<a-&>1<a-space><a-gt> ] # deindent closing brace(s) when after cursor - try %[ execute-keys -draft <a-x> <a-k>^\h*[})]+\h*$<ret> hm <a-S> 1<a-&> ] + try %[ execute-keys -draft <a-x> <a-k> ^\h*[})] <ret> gh / [})] <ret> m <a-S> 1<a-&> ] = ~ |
