]> git.pld-linux.org Git - packages/vim.git/blobdiff - vim-smarty.patch
- recognize *.tpl.html as Smarty templates
[packages/vim.git] / vim-smarty.patch
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.*?>' |
This page took 0.033593 seconds and 4 git commands to generate.