]> git.pld-linux.org Git - packages/vim.git/commitdiff
- recognize .php4/.php5 as php scripts
authorAdam Gołębiowski <adamg@pld-linux.org>
Tue, 28 Feb 2006 10:14:56 +0000 (10:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vim-filetype_vim-php45.patch -> 1.1
    vim.spec -> 1.336

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

diff --git a/vim-filetype_vim-php45.patch b/vim-filetype_vim-php45.patch
new file mode 100644 (file)
index 0000000..c1201e7
--- /dev/null
@@ -0,0 +1,13 @@
+--- vim64/runtime/filetype.vim~        2006-02-28 10:53:41.000000000 +0100
++++ vim64/runtime/filetype.vim 2006-02-28 10:55:04.367164896 +0100
+@@ -1008,8 +1008,8 @@
+ " Perl POD
+ au BufNewFile,BufRead *.pod                   setf pod
+-" Php3
+-au BufNewFile,BufRead *.php,*.php3            setf php
++" PHP 3/4/5
++au BufNewFile,BufRead *.php,*.php3,*.php4,*.php5      setf php
+ " Phtml
+ au BufNewFile,BufRead *.phtml                 setf phtml
index 25814b99e87643efa7f88b6ea7e469ce15564c58..d2f87f70c7d5967bdd23793987087234f63535ee 100644 (file)
--- a/vim.spec
+++ b/vim.spec
@@ -88,6 +88,7 @@ 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
+Patch35:       %{name}-filetype_vim-php45.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
@@ -596,6 +597,7 @@ element bonobo.
 %patch32 -p0
 %patch33 -p0
 %patch34 -p1
+%patch35 -p1
 
 install %{SOURCE15} runtime/indent
 install %{SOURCE16} runtime/colors
This page took 0.207679 seconds and 4 git commands to generate.