packages: vim-syntax-nagios/nagios.vim - allow underscore in custom vars, m...
glen
glen at pld-linux.org
Fri Sep 4 11:31:36 CEST 2009
Author: glen Date: Fri Sep 4 09:31:36 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- allow underscore in custom vars, match also custom var macro use
---- Files affected:
packages/vim-syntax-nagios:
nagios.vim (1.17 -> 1.18)
---- Diffs:
================================================================
Index: packages/vim-syntax-nagios/nagios.vim
diff -u packages/vim-syntax-nagios/nagios.vim:1.17 packages/vim-syntax-nagios/nagios.vim:1.18
--- packages/vim-syntax-nagios/nagios.vim:1.17 Wed Aug 12 07:13:12 2009
+++ packages/vim-syntax-nagios/nagios.vim Fri Sep 4 11:31:31 2009
@@ -84,7 +84,8 @@
syn keyword nagiosDirective contained notes notes_url action_url 2d_coords 3d_coords obsess_over_host inherits_parent
" custom objects: http://nagios.sourceforge.net/docs/3_0/customobjectvars.html
-syn match nagiosDirective contained '\<_[a-z]\+\>'
+syn match nagiosDirective contained '\<_[a-z_]\+\>'
+syn match nagiosMacro contained '\$_[A-Z_]\+\$'
syn keyword nagiosSpecial null
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim-syntax-nagios/nagios.vim?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list