Fix indentation rule for latex.kak
This commit is contained in:
parent
b40a53d26c
commit
1d68f8dab9
|
@ -68,6 +68,8 @@ define-command -hidden latex-indent-newline %(
|
|||
try %{ execute-keys -draft k<a-x> s\h+$<ret> d }
|
||||
# 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-&> )
|
||||
# indent after line ending with \begin{...}[...]{...}, with multiple
|
||||
# sets of arguments possible
|
||||
try %(
|
||||
|
|
Loading…
Reference in New Issue
Block a user