]> git.pld-linux.org Git - packages/vim.git/blobdiff - vim-nagios.patch
Up to 9.1.0168
[packages/vim.git] / vim-nagios.patch
index 31ce630c4bb2c9fb9212125a1b1d19b9352d4345..876055f7ca4628a476d2c66030767432999ff46a 100644 (file)
@@ -1,11 +1,12 @@
 --- 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')
+@@ -2255,6 +2255,8 @@ au BufNewFile,BufRead *
+       \ | runtime! scripts.vim | endif
+ au StdinReadPost * if !did_filetype() | runtime! scripts.vim | endif
  
 +" 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 *
+ " Plain text files, needs to be far down to not override others.  This avoids
+ " the "conf" type being used if there is a line starting with '#'.
+
This page took 0.103167 seconds and 4 git commands to generate.