mirror of https://github.com/Icinga/icinga2.git
Vim syntax: Match groups before host/service/user objects
switches order of syntax object definitions to stop short circuit fixes #9045 Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
This commit is contained in:
parent
3d4be0ea58
commit
ec8ec726c0
1
AUTHORS
1
AUTHORS
|
@ -1,5 +1,6 @@
|
|||
Alexander Schomburg <script.acc@alex.schomb.org>
|
||||
Alexander Wirt <formorer@debian.org>
|
||||
Andrew Meyer <ameyer+secure@nodnetwork.org>
|
||||
Bernd Erk <bernd.erk@icinga.org>
|
||||
Blerim Sheqa <blerim.sheqa@netways.de>
|
||||
Brian Dockter <specus@gmail.com>
|
||||
|
|
|
@ -45,7 +45,7 @@ syn match Parens "[()]"
|
|||
|
||||
|
||||
" objects types
|
||||
syn match icinga2ObjDef "object[ \t]\+\(hostgroup\|host\|service\|servicegroup\|user\|usergroup\)"
|
||||
syn match icinga2ObjDef "object[ \t]\+\(hostgroup\|host\|servicegroup\|service\|usergroup\|user\)"
|
||||
syn match icinga2ObjDef "object[ \t]\+\(checkcommand\|notificationcommand\|eventcommand\|notification\)"
|
||||
syn match icinga2Objdef "object[ \t]\+\(timeperiod\|scheduleddowntime\|dependency\|perfdatawriter\)"
|
||||
syn match icinga2ObjDef "object[ \t]\+\(graphitewriter\|idomysqlconnection\|idomysqlconnection\)"
|
||||
|
|
Loading…
Reference in New Issue