]> git.pld-linux.org Git - packages/vim.git/commitdiff
- detect nagios files
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 30 Mar 2006 20:23:50 +0000 (20:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vim-nagios.patch -> 1.1

vim-nagios.patch [new file with mode: 0644]

diff --git a/vim-nagios.patch b/vim-nagios.patch
new file mode 100644 (file)
index 0000000..31ce630
--- /dev/null
@@ -0,0 +1,11 @@
+--- vim-7.0/runtime/filetype.vim~      2006-03-30 22:10:33.046344554 +0300
++++ vim-7.0/runtime/filetype.vim       2006-03-30 23:14:19.721780355 +0300
+@@ -2095,6 +2095,8 @@
+ " Z-Shell script
+ au BufNewFile,BufRead zsh*,zlog*              call s:StarSetf('zsh')
++" Nagios config
++au BufNewFile,BufRead /*etc/nagios/*.cfg,*sample-config/template-object/*.cfg{,.in},/var/lib/nagios/objects.cache set filetype=nagios
+ " Generic configuration file (check this last, it's just guessing!)
+ au BufNewFile,BufRead,StdinReadPost *
This page took 0.047823 seconds and 4 git commands to generate.