Indent after other keywords

This commit is contained in:
Frank LENORMAND 2016-09-25 09:19:04 +03:00
parent 048004f3a4
commit 7d51dca290

View File

@ -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> }
}
}