From 1125baabde77554ce041ca40ac55da38b9741273 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 14 Nov 2022 07:32:28 -0500 Subject: [PATCH] nagios-mode.el: move directives to their own lines for easy diffing. --- nagios-mode.el | 97 +++++++++++++++++++++++++++++++++++++------------- 1 file changed, 72 insertions(+), 25 deletions(-) diff --git a/nagios-mode.el b/nagios-mode.el index 06d52e1..8535db8 100644 --- a/nagios-mode.el +++ b/nagios-mode.el @@ -242,31 +242,78 @@ (concat "^[ \t\r\n]*" (regexp-opt - '("active_checks_enabled" "address" "alias" "check_command" - "check_freshness" "check_interval" "check_period" "checks_enabled" - "command_line" "command_name" "contactgroups" "contact_groups" - "contactgroup_members" "contact_name" "contactgroup_name" "contacts" - "dependent_host_name" "dependent_service_description" "email" - "event_handler" "event_handler_enabled" "execution_failure_criteria" - "failure_prediction_enabled" "first_notification" - "first_notification_delay" "flap_detection_enabled" "freshness_threshold" - "friday" "high_flap_threshold" "host_name" "host_notification_commands" - "host_notification_options" "host_notification_period" - "host_notifications_enabled" "hostgroup_name" "hostgroups" - "is_volatile" "last_notification" "low_flap_threshold" - "max_check_attempts" "members" "monday" "normal_check_interval" - "notes" "notification_failure_criteria" - "notification_interval" "notification_options" - "notification_period" "notifications_enabled" - "obsess_over_service" "pager" "parallelize_check" - "parents" "passive_checks_enabled" - "process_perf_data" "retain_nonstatus_information" - "retain_status_information" "retry_check_interval" - "retry_interval" "saturday" "service_description" - "service_notification_commands" "service_notification_options" - "service_notification_period" "service_notifications_enabled" - "servicegroup_name" "stalking_options" - "sunday" "thursday" "timeperiod_name" "tuesday" "wednesday") t) + '("active_checks_enabled" + "address" + "alias" + "check_command" + "check_freshness" + "check_interval" + "check_period" + "checks_enabled" + "command_line" + "command_name" + "contactgroups" + "contact_groups" + "contactgroup_members" + "contact_name" + "contactgroup_name" + "contacts" + "dependent_host_name" + "dependent_service_description" + "email" + "event_handler" + "event_handler_enabled" + "execution_failure_criteria" + "failure_prediction_enabled" + "first_notification" + "first_notification_delay" + "flap_detection_enabled" + "freshness_threshold" + "friday" + "high_flap_threshold" + "host_name" + "host_notification_commands" + "host_notification_options" + "host_notification_period" + "host_notifications_enabled" + "hostgroup_name" + "hostgroups" + "is_volatile" + "last_notification" + "low_flap_threshold" + "max_check_attempts" + "members" + "monday" + "normal_check_interval" + "notes" + "notification_failure_criteria" + "notification_interval" + "notification_options" + "notification_period" + "notifications_enabled" + "obsess_over_service" + "pager" + "parallelize_check" + "parents" + "passive_checks_enabled" + "process_perf_data" + "retain_nonstatus_information" + "retain_status_information" + "retry_check_interval" + "retry_interval" + "saturday" + "service_description" + "service_notification_commands" + "service_notification_options" + "service_notification_period" + "service_notifications_enabled" + "servicegroup_name" + "stalking_options" + "sunday" + "thursday" + "timeperiod_name" + "tuesday" + "wednesday") t) "[ \r\n\t]+") ) -- 2.43.2