]> git.pld-linux.org Git - packages/vim.git/commitdiff
- recognize *.cron (from SOURCES) as cron file
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 22 Dec 2006 18:34:35 +0000 (18:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vim-ft-cron.patch -> 1.1
    vim.spec -> 1.383

vim-ft-cron.patch [new file with mode: 0644]
vim.spec

diff --git a/vim-ft-cron.patch b/vim-ft-cron.patch
new file mode 100644 (file)
index 0000000..2627578
--- /dev/null
@@ -0,0 +1,11 @@
+--- vim70/runtime/filetype.vim~        2006-11-15 15:36:16.000000000 +0200
++++ vim70/runtime/filetype.vim 2006-12-22 20:30:52.336234386 +0200
+@@ -2070,7 +2070,7 @@
+       \|endif
+ " Crontab
+-au BufNewFile,BufRead crontab,crontab.*               call s:StarSetf('crontab')
++au BufNewFile,BufRead crontab,crontab.*,*.cron                call s:StarSetf('crontab')
+ " Debian Sources.list
+ au BufNewFile,BufRead /etc/apt/sources.list.d/*       call s:StarSetf('debsources')
index 5754c3556fc5e30892cbfbf275cebcdd5fcb033a..939d42bb9f226bbcefe7558c4cce59d53aacf1d0 100644 (file)
--- a/vim.spec
+++ b/vim.spec
@@ -90,6 +90,7 @@ Patch104:     %{name}-home_etc.patch
 Patch105:      %{name}-selinux.patch
 Patch106:      %{name}-fstab-uuid.patch
 Patch107:      %{name}-autopaste.patch
+Patch108:      %{name}-ft-cron.patch
 Patch201:      ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.001
 Patch202:      ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.002
 Patch203:      ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.003
@@ -902,9 +903,11 @@ element bonobo.
 # recognize UUID= in /etc/fstab
 %patch106 -p1
 
-# autopaste patch - automatically switch to paste mode if `really fast typing' 
+# autopaste patch - automatically switch to paste mode if `really fast typing'
 # situation happens
-%patch107 -p1 
+%patch107 -p1
+
+%patch108 -p1
 
 install %{SOURCE14} runtime/indent
 install %{SOURCE15} runtime/colors
This page took 0.094217 seconds and 4 git commands to generate.