vim/vim-7.0-filetype_ycp.patch

28 lines
816 B
Diff

--- vim70/runtime/filetype.vim.orig 2006-05-02 20:15:45.000000000 +0200
+++ vim70/runtime/filetype.vim 2006-07-11 14:36:15.000000000 +0200
@@ -1640,7 +1640,7 @@
au BufNewFile,BufRead *.hog,snort.conf,vision.conf,*.rules setf hog
" Spec (Linux RPM)
-au BufNewFile,BufRead *.spec setf spec
+au BufNewFile,BufRead *.spec,*.spec.in setf spec
" Speedup (AspenTech plant simulator)
au BufNewFile,BufRead *.speedup,*.spdata,*.spd setf spup
@@ -2019,6 +2019,15 @@
" zsql (zope sql method)
au BufNewFile,BufRead *.zsql call s:SQL()
+" YCP
+au BufNewFile,BufRead *.ycp,*.scr,*.yh set ft=ycp
+
+" changes
+au BufNewFile,BufRead *.changes set ft=changes
+
+" y2cc
+au BufNewFile,BufRead *.y2cc set ft=dosini
+
" Z80 assembler asz80
au BufNewFile,BufRead *.z8a setf z8a