mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-25 20:41:49 +03:00
Enum too
This commit is contained in:
parent
ff7397b593
commit
5ca0b9baa3
@ -110,8 +110,8 @@ def -hidden nim-indent-on-new-line %{
|
||||
try %{ exec -draft \; K <a-&> }
|
||||
# cleanup trailing whitespaces from previous line
|
||||
try %{ exec -draft k <a-x> s \h+$ <ret> d }
|
||||
# indent after line ending with tuple, object, type, import, export, const, let, var, ':' or '='
|
||||
try %{ exec -draft <space> k x <a-k> (:|=|tuple|object|const|let|var|import|export|type)$ <ret> j <a-gt> }
|
||||
# indent after line ending with enum, tuple, object, type, import, export, const, let, var, ':' or '='
|
||||
try %{ exec -draft <space> k x <a-k> (:|=|enum|tuple|object|const|let|var|import|export|type)$ <ret> j <a-gt> }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user