mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-23 23:34:12 +03:00
Indent after other keywords
This commit is contained in:
parent
048004f3a4
commit
7d51dca290
@ -46,8 +46,8 @@ def -hidden _makefile-indent-on-new-line %{
|
||||
try %{ exec -draft Z k<a-x> <a-k>^[^:]+:\s<ret> z i<tab> }
|
||||
# cleanup trailing white space son previous line
|
||||
try %{ exec -draft k<a-x> s \h+$ <ret>d }
|
||||
# indent after ifeq, ifneq, else
|
||||
try %{ exec -draft Z k<a-x> <a-k> ^\h*(ifeq|ifneq|else)\b<ret> z <a-gt> }
|
||||
# indent after some keywords
|
||||
try %{ exec -draft Z k<a-x> <a-k> ^\h*(ifeq|ifneq|ifdef|ifndef|else|define)\b<ret> z <a-gt> }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user