]> granicus.if.org Git - icinga2/commitdiff
Syntax: Add new RunDir constant
authorMichael Friedrich <michael.friedrich@netways.de>
Mon, 4 Aug 2014 09:25:47 +0000 (11:25 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Mon, 4 Aug 2014 09:25:47 +0000 (11:25 +0200)
refs #6627

tools/syntax/nano/icinga2.nanorc
tools/syntax/vim/syntax/icinga2.vim

index 9c74f4da31134180a16596da21c67aff6ec35056..165d674c70a83015567cbbcb91e062d935227708 100644 (file)
@@ -51,7 +51,7 @@ icolor white  "(regex|match|len|union|intersection|string|number|bool|log|exit)"
 
 
 ## global constats
-icolor yellow          "(PrefixDir|SysconfDir|ZonesDir|LocalStateDir|PkgDataDir|StatePath|PidPath)"
+icolor yellow          "(PrefixDir|SysconfDir|ZonesDir|LocalStateDir|PkgDataDir|RunDir|StatePath|PidPath)"
 icolor yellow          "(NodeName|ApplicationType|EnableNotifications|EnableEventHandlers)"
 icolor yellow          "(EnableFlapping|EnableHostChecks|EnableServiceChecks|EnablePerfdata|UseVfork)"
 icolor yellow          "(Vars\s+)"
index 8ea5fe68b734e1a2b587bf202f88d579326b71ae..208e9680c5f68f5f7c264f988a613a2877eec1c7 100644 (file)
@@ -96,7 +96,7 @@ syn keyword           icinga2Function         contained       regex match len union intersection strin
 
 
 " global constats
-syn keyword            icinga2Gconst           PrefixDir SysconfDir ZonesDir LocalStateDir PkgDataDir StatePath PidPath
+syn keyword            icinga2Gconst           PrefixDir SysconfDir ZonesDir LocalStateDir PkgDataDir RunDir StatePath PidPath
 syn keyword            icinga2Gconst           NodeName ApplicationType EnableNotifications EnableEventHandlers 
 syn keyword            icinga2Gconst           EnableFlapping EnableHostChecks EnableServiceChecks EnablePerfdata UseVfork
 syn    match           icinga2Gconst           "\(Vars[ \t]\+\)"