]> granicus.if.org Git - icinga2/commitdiff
Add enable_ha/failover_timeout to vim/nano syntax highlighting
authorMichael Friedrich <michael.friedrich@gmail.com>
Thu, 28 Aug 2014 19:15:57 +0000 (21:15 +0200)
committerMichael Friedrich <michael.friedrich@gmail.com>
Thu, 28 Aug 2014 19:15:57 +0000 (21:15 +0200)
refs #6827
refs #6203

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

index 095f1d8e8aa4d8b45850ffd8e2aa80d4388c1e14..bd3281dfc38f0f4c0648d0047a12f35c7cefac47 100644 (file)
@@ -24,8 +24,8 @@ icolor red            "(^|^\s+)(bind_port|ca_path|categories|cert_path|check_command|chec
 icolor red             "(^|^\s+)(check_period|child_host_name|child_service_name|cleanup|command|command_path)"
 icolor red             "(^|^\s+)(comment|compat_log_path|crl_path|database|disable_checks|disable_notifications)"
 icolor red             "(^|^\s+)(display_name|duration|email|enable_active_checks|enable_event_handler)"
-icolor red             "(^|^\s+)(enable_flapping|enable_notifications|enable_passive_checks|enable_perfdata)"
-icolor red             "(^|^\s+)(endpoints|env|event_command|fixed|flapping_threshold|groups|host)"
+icolor red             "(^|^\s+)(enable_flapping|enable_ha|enable_notifications|enable_passive_checks|enable_perfdata)"
+icolor red             "(^|^\s+)(endpoints|env|event_command|failover_timeout|fixed|flapping_threshold|groups|host)"
 icolor red             "(^|^\s+)(host_format_template|host_name|host_perfdata_path|host_temp_path|icon_image)"
 icolor red             "(^|^\s+)(icon_image_alt|instance_description|instance_name|interval|key_path|log_dir)"
 icolor red             "(^|^\s+)(log_duration|max_check_attempts|methods|name|notes|notes_url|objects_path)"
index dba3ffa0c0723159fa8e98ee5aca3c5743b50d2a..109d075139c65d28aa776ad64fa4247098bc1d3c 100644 (file)
@@ -67,8 +67,8 @@ syn keyword           icinga2ObjAttr          contained       bind_port ca_path categories cert_path ch
 syn keyword            icinga2ObjAttr          contained       check_period child_host_name child_service_name cleanup command command_path
 syn keyword            icinga2ObjAttr          contained       comment compat_log_path crl_path database disable_checks disable_notifications
 syn keyword            icinga2ObjAttr          contained       display_name duration email enable_active_checks enable_event_handler
-syn keyword            icinga2ObjAttr          contained       enable_flapping enable_notifications enable_passive_checks enable_perfdata
-syn keyword            icinga2ObjAttr          contained       endpoints env event_command fixed flapping_threshold groups host
+syn keyword            icinga2ObjAttr          contained       enable_flapping enable_ha enable_notifications enable_passive_checks enable_perfdata
+syn keyword            icinga2ObjAttr          contained       endpoints env event_command failover_timeout fixed flapping_threshold groups host
 syn keyword            icinga2ObjAttr          contained       host_format_template host_name host_perfdata_path host_temp_path icon_image
 syn keyword            icinga2ObjAttr          contained       icon_image_alt instance_description instance_name interval key_path log_dir
 syn keyword            icinga2ObjAttr          contained       log_duration max_check_attempts methods name notes notes_url objects_path