Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vim-syntax.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f012d08
)
support :set compatible
author
Jason Woofenden
<jason@jasonwoof.com>
Thu, 20 Oct 2011 18:44:36 +0000
(14:44 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Thu, 20 Oct 2011 18:44:36 +0000
(14:44 -0400)
php.vim
patch
|
blob
|
history
diff --git
a/php.vim
b/php.vim
index
2c49c64
..
956197d
100644
(file)
--- a/
php.vim
+++ b/
php.vim
@@
-1,7
+1,7
@@
" Vim syntax file
" Language: php PHP 3/4/5
" Maintainer: Jason Woofenden <jason@jasonwoof.com>
" Vim syntax file
" Language: php PHP 3/4/5
" Maintainer: Jason Woofenden <jason@jasonwoof.com>
-" Last Change: July 29, 2011
+" Last Change: Oct 20, 2011
" URL: https://gitorious.org/jasonwoof/vim-syntax/blobs/master/php.vim
" Former Maintainers: Peter Hodge <toomuchphp-vim@yahoo.com>
" Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
" URL: https://gitorious.org/jasonwoof/vim-syntax/blobs/master/php.vim
" Former Maintainers: Peter Hodge <toomuchphp-vim@yahoo.com>
" Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
@@
-110,6
+110,10
@@
if exists( "php_htmlInStrings")
syn cluster phpAddStrings add=@htmlTop
endif
syn cluster phpAddStrings add=@htmlTop
endif
+" make sure we can use \ at the begining of the line to do a continuation
+let s:cpo_save = &cpo
+set cpo&vim
+
syn case match
" Env Variables
syn case match
" Env Variables
@@
-691,4
+695,8
@@
if main_syntax == 'php'
unlet main_syntax
endif
unlet main_syntax
endif
+" put cpoptions back the way we found it
+let &cpo = s:cpo_save
+unlet s:cpo_save
+
" vim: ts=8 sts=2 sw=2 expandtab
" vim: ts=8 sts=2 sw=2 expandtab