cpp.kak: #if 0 stop at next endif or else or elif
This commit is contained in:
parent
3ea690a92e
commit
cf01227e1c
|
@ -43,7 +43,7 @@ addhl -group / regions -default code cpp \
|
|||
string %{(?<!')"} %{(?<!\\)(\\\\)*"} '' \
|
||||
comment /\* \*/ '' \
|
||||
comment // $ '' \
|
||||
disabled ^\h*?#if\h+(0|FALSE)\b '#endif' '#if(def)?' \
|
||||
disabled ^\h*?#\h*if\h+(0|FALSE)\b '#\h*(else|elif|endif)' '#\h*if(def)?' \
|
||||
macro ^\h*?\K# (?<!\\)\n ''
|
||||
|
||||
addhl -group /cpp/string fill string
|
||||
|
|
Loading…
Reference in New Issue
Block a user