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> }
|
try %{ exec -draft Z k<a-x> <a-k>^[^:]+:\s<ret> z i<tab> }
|
||||||
# cleanup trailing white space son previous line
|
# cleanup trailing white space son previous line
|
||||||
try %{ exec -draft k<a-x> s \h+$ <ret>d }
|
try %{ exec -draft k<a-x> s \h+$ <ret>d }
|
||||||
# indent after ifeq, ifneq, else
|
# indent after some keywords
|
||||||
try %{ exec -draft Z k<a-x> <a-k> ^\h*(ifeq|ifneq|else)\b<ret> z <a-gt> }
|
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