]> git.pld-linux.org Git - packages/vim.git/commitdiff
- recognize *.tpl.html as Smarty templates
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 12 Jan 2006 15:28:32 +0000 (15:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vim-smarty.patch -> 1.1
    vim.spec -> 1.335

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

diff --git a/vim-smarty.patch b/vim-smarty.patch
new file mode 100644 (file)
index 0000000..506a715
--- /dev/null
@@ -0,0 +1,22 @@
+--- ./runtime/filetype.vim     2006-01-12 17:26:15.000000000 +0200
++++ /tmp/filetype.vim  2006-01-12 17:25:53.000000000 +0200
+@@ -590,6 +590,9 @@
+ " HEX (Intel)
+ au BufNewFile,BufRead *.hex,*.h32             setf hex
++" Smarty templates (must be before HTML)
++au BufNewFile,BufRead *.tpl.html,*.tpl                        setf smarty
++
+ " Tilde (must be before HTML)
+ au BufNewFile,BufRead *.t.html                        setf tilde
+@@ -1396,9 +1399,6 @@
+       \  setf st |
+       \ endif
+-" Smarty templates
+-au BufNewFile,BufRead *.tpl                   setf smarty
+-
+ " SMIL or XML
+ au BufNewFile,BufRead *.smil
+       \ if getline(1) =~ '<?\s*xml.*?>' |
index 93c6e1013611a40aaa081ffa0ae2ad0278711409..25814b99e87643efa7f88b6ea7e469ce15564c58 100644 (file)
--- a/vim.spec
+++ b/vim.spec
@@ -87,6 +87,7 @@ Patch30:      020_all_%{name}-7.0-fstab-tmpfs-size.patch
 Patch31:       021_all_%{name}-7.0-fstab-bogus-errors.patch
 Patch32:       024_all_%{name}-6.3-bash-83565.patch
 Patch33:       027_all_%{name}-7.0-automake-substitutions-93378.patch
+Patch34:       %{name}-smarty.patch
 Patch99:       %{name}-bonobo-20050909.patch
 Patch101:      ftp://ftp.vim.org/pub/editors/vim/patches/6.4/6.4.001
 Patch102:      ftp://ftp.vim.org/pub/editors/vim/patches/6.4/6.4.002
@@ -594,6 +595,7 @@ element bonobo.
 %patch31 -p1
 %patch32 -p0
 %patch33 -p0
+%patch34 -p1
 
 install %{SOURCE15} runtime/indent
 install %{SOURCE16} runtime/colors
This page took 0.086379 seconds and 4 git commands to generate.