Update deindenting in latex.kak
This commit is contained in:
parent
3bd783c337
commit
be69d6e173
|
@ -69,7 +69,7 @@ define-command -hidden latex-indent-newline %(
|
|||
# indent after line ending with {
|
||||
try %( execute-keys -draft k<a-x> <a-k>\{$<ret> j<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*\}+\h*(?:%.*)?$<ret> <a-/> \} <ret> m <a-S> 1<a-&> )
|
||||
# indent after line ending with \begin{...}[...]{...}, with multiple
|
||||
# sets of arguments possible
|
||||
try %(
|
||||
|
|
Loading…
Reference in New Issue
Block a user