]> git.pld-linux.org Git - packages/vim.git/commitdiff
- drop nagios.vim (PITA to maintain two versions), use vim-syntax-nagios auto/ti/vim-7_2_239-1
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 27 Jul 2009 16:58:54 +0000 (16:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nagios.vim -> 1.11
    vim.spec -> 1.478

nagios.vim [deleted file]
vim.spec

diff --git a/nagios.vim b/nagios.vim
deleted file mode 100644 (file)
index 6f344fe..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-" Vim syntax file
-" Filename:     nagios.vim
-" Language:     Nagios template object configuration file
-" Maintainer:   Elan Ruusamäe <glen@pld-linux.org>
-" Author:       Lance Albertson <ramereth@gentoo.org>
-" Author:       Ava Arachne Jarvis <ajar@katanalynx.dyndns.org>
-" URL:          http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/nagios.vim
-" Version Info: $Revision$
-" Last Change:  $Date$ UTC
-
-if !exists("main_syntax")
-  if version < 600
-    syntax clear
-  elseif exists("b:current_syntax")
-    finish
-  endif
-
-  let main_syntax = 'nagios'
-endif
-
-if version >= 600
-  setlocal iskeyword=_,-,A-Z,a-z,48-57
-else
-endif
-
-syn match nagiosLineComment '#.*'
-syn match nagiosComment ';.*$' contained
-
-syn match nagiosConstant '\<[0-9]\+%\?\>'
-syn match nagiosConstant '\<[a-z]\>'
-
-syn region nagiosString  start=+"+ end=+"+ contains=nagiosMacro
-syn region nagiosString  start=+'+ end=+'+ contains=nagiosMacro
-
-syn match nagiosDef 'define[ \t]\+\(\(host\|service\)extinfo\|host\|service\|timeperiod\|contact\|command\)'
-syn match nagiosDef 'define[ \t]\+\(host\|contact\|service\)group'
-syn match nagiosDef 'define[ \t]\+\(service\|host\)dependency'
-syn match nagiosDef 'define[ \t]\+\(service\|host\|hostgroup\)escalation'
-
-syn match nagiosMacro  '\$CONTACT\(NAME\|ALIAS\|EMAIL\|PAGER\)\$'
-syn match nagiosMacro  '\$HOST\(NAME\|ALIAS\|ADDRESS\|STATE\|OUTPUT\|PERFDATA\|STATETYPE\|EXECUTIONTIME\)\$'
-syn match nagiosMacro  '\$\(ARG\|USER\)\([1-9]\|[1-2][0-9]\|3[0-2]\)\$'
-syn match nagiosMacro  '\$SERVICE\(DESC\|STATE\|OUTPUT\|PERFDATA\|LATENCY\|EXECUTIONTIME\|STATETYPE\)\$'
-syn match nagiosMacro  '\$\(OUTPUT\|PERFDATA\|EXECUTIONTIME\|LATENCY\)\$'
-syn match nagiosMacro  '\$NOTIFICATION\(TYPE\|NUMBER\)\$'
-syn match nagiosMacro  '\$\(\(SHORT\|LONG\)\?DATETIME\|DATE\|TIME\|TIMET\)\$'
-syn match nagiosMacro  '\$LASTSTATECHANGE\$'
-syn match nagiosMacro  '\$ADMIN\(EMAIL\|PAGER\)\$'
-syn match nagiosMacro  '\$\(SERVICE\|HOST\)ATTEMPT\$'
-syn match nagiosMacro  '\$LAST\(HOST\|SERVICE\)CHECK\$'
-
-syn region nagiosDefBody start='{' end='}'
-       \ contains=nagiosComment,nagiosDirective,nagiosMacro,nagiosConstant,nagiosString,nagiosSpecial transparent
-
-syn keyword nagiosDirective contained name register use
-syn keyword nagiosDirective contained active_checks_enabled address alias check_command
-syn keyword nagiosDirective contained check_freshness check_period checks_enabled check_interval retry_interval
-syn keyword nagiosDirective contained command_line command_name
-syn keyword nagiosDirective contained contacts contact_groups contact_name contactgroup_name
-syn keyword nagiosDirective contained dependent_host_name dependent_hostgroup dependent_service_description
-syn keyword nagiosDirective contained email event_handler event_handler_enabled
-syn keyword nagiosDirective contained execution_failure_criteria first_notification execution_failure_options
-syn keyword nagiosDirective contained flap_detection_enabled freshness_threshold failure_prediction_enabled
-syn keyword nagiosDirective contained friday high_flap_threshold host_name
-syn keyword nagiosDirective contained host_notification_commands
-syn keyword nagiosDirective contained host_notification_options
-syn keyword nagiosDirective contained host_notification_period hostgroup_name servicegroup_name hostgroups servicegroups
-syn keyword nagiosDirective contained is_volatile last_notification
-syn keyword nagiosDirective contained low_flap_threshold max_check_attempts
-syn keyword nagiosDirective contained members monday normal_check_interval
-syn keyword nagiosDirective contained notification_failure_criteria notification_failure_options
-syn keyword nagiosDirective contained notification_interval notification_options
-syn keyword nagiosDirective contained notification_period notifications_enabled
-syn keyword nagiosDirective contained obsess_over_service pager parallelize_check
-syn keyword nagiosDirective contained parents passive_checks_enabled
-syn keyword nagiosDirective contained process_perf_data retain_nonstatus_information
-syn keyword nagiosDirective contained retain_status_information retry_check_interval
-syn keyword nagiosDirective contained saturday service_description
-syn keyword nagiosDirective contained service_notification_commands
-syn keyword nagiosDirective contained service_notification_options
-syn keyword nagiosDirective contained service_notification_period stalking_options
-syn keyword nagiosDirective contained sunday thursday timeperiod_name tuesday wednesday
-syn keyword nagiosDirective contained icon_image icon_image_alt vrml_image statusmap_image
-syn keyword nagiosDirective contained notes notes_url 2d_coords 3d_coords obsess_over_host inherits_parent
-
-hi link nagiosComment Comment
-hi link nagiosLineComment Comment
-hi link nagiosConstant Number
-hi link nagiosDef Statement
-hi link nagiosDirective Define
-hi link nagiosMacro Macro
-hi link nagiosString String
-hi link nagiosSpecial Special
index f5a550a6a25d8e5b5d5bcff1251204e118ae6c37..b5efab221933a5480955698b89c071a3d224d21e 100644 (file)
--- a/vim.spec
+++ b/vim.spec
@@ -48,7 +48,6 @@ Source14:     %{name}.desktop
 # syntax files
 # http://www.vim.org/scripts/script.php?script_id=1491 (0.7.5)
 Source20:      javascript.vim
-Source21:      nagios.vim
 # http://www.vim.org/scripts/script.php?script_id=447 (20040206)
 Source22:      exim.vim
 # http://www.vim.org/scripts/script.php?script_id=1571 (0.9.7)
@@ -707,7 +706,6 @@ jak również GUI GTK+2.
 %patch114 -p1
 
 install %{SOURCE20} runtime/syntax
-install %{SOURCE21} runtime/syntax
 install %{SOURCE22} runtime/syntax
 install %{SOURCE23} runtime/syntax
 install %{SOURCE30} runtime/colors
This page took 0.040724 seconds and 4 git commands to generate.