diff --git a/rc/base/makefile.kak b/rc/base/makefile.kak index b168f5d9..08fbdfd0 100644 --- a/rc/base/makefile.kak +++ b/rc/base/makefile.kak @@ -46,8 +46,8 @@ def -hidden _makefile-indent-on-new-line %{ try %{ exec -draft Z k ^[^:]+:\s z i } # cleanup trailing white space son previous line try %{ exec -draft k s \h+$ d } - # indent after ifeq, ifneq, else - try %{ exec -draft Z k ^\h*(ifeq|ifneq|else)\b z } + # indent after some keywords + try %{ exec -draft Z k ^\h*(ifeq|ifneq|ifdef|ifndef|else|define)\b z } } }