diff --git a/tools/syntax/nano/icinga2.nanorc b/tools/syntax/nano/icinga2.nanorc index 9c74f4da3..165d674c7 100644 --- a/tools/syntax/nano/icinga2.nanorc +++ b/tools/syntax/nano/icinga2.nanorc @@ -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+)" diff --git a/tools/syntax/vim/syntax/icinga2.vim b/tools/syntax/vim/syntax/icinga2.vim index 8ea5fe68b..208e9680c 100644 --- a/tools/syntax/vim/syntax/icinga2.vim +++ b/tools/syntax/vim/syntax/icinga2.vim @@ -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]\+\)"