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-&> }
|
try %{ exec -draft \; K <a-&> }
|
||||||
# cleanup trailing whitespaces from previous line
|
# cleanup trailing whitespaces from previous line
|
||||||
try %{ exec -draft k <a-x> s \h+$ <ret> d }
|
try %{ exec -draft k <a-x> s \h+$ <ret> d }
|
||||||
# indent after line ending with tuple, object, type, import, export, const, let, var, ':' or '='
|
# indent after line ending with enum, 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> }
|
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