comparison runtime/syntax/php.vim @ 11407:cc5253681167

Runtime file updates commit https://github.com/vim/vim/commit/0635ee682481e2da0d39cd970b3cb573a1c12a17 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 28 20:32:33 2017 +0200 Runtime file updates
author Christian Brabandt <cb@256bit.org>
date Fri, 28 Apr 2017 20:45:03 +0200
parents 883396809b45
children 63b0b7b79b25
comparison
equal deleted inserted replaced
11406:ef63bf793165 11407:cc5253681167
1 " Vim syntax file 1 " Vim syntax file
2 " Language: php PHP 3/4/5/7 2 " Language: php PHP 3/4/5/7
3 " Maintainer: Jason Woofenden <jason@jasonwoof.com> 3 " Maintainer: Jason Woofenden <jason@jasonwoof.com>
4 " Last Change: Dec 11, 2016 4 " Last Change: Apr 28, 2017
5 " URL: https://jasonwoof.com/gitweb/?p=vim-syntax.git;a=blob;f=php.vim;hb=HEAD 5 " URL: https://jasonwoof.com/gitweb/?p=vim-syntax.git;a=blob;f=php.vim;hb=HEAD
6 " Former Maintainers: Peter Hodge <toomuchphp-vim@yahoo.com> 6 " Former Maintainers: Peter Hodge <toomuchphp-vim@yahoo.com>
7 " Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> 7 " Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
8 " 8 "
9 " Note: If you are using a colour terminal with dark background, you will probably find 9 " Note: If you are using a colour terminal with dark background, you will probably find
10 " the 'elflord' colorscheme is much better for PHP's syntax than the default 10 " the 'elflord' colorscheme is much better for PHP's syntax than the default
11 " colourscheme, because elflord's colours will better highlight the break-points 11 " colourscheme, because elflord's colours will better highlight the break-points
12 " (Statements) in your code. 12 " (Statements) in your code.
13 " 13 "
14 " Options: php_sql_query = 1 for SQL syntax highlighting inside strings 14 " Options:
15 " php_htmlInStrings = 1 for HTML syntax highlighting inside strings 15 " Set to anything to enable:
16 " php_baselib = 1 for highlighting baselib functions 16 " php_sql_query SQL syntax highlighting inside strings
17 " php_asp_tags = 1 for highlighting ASP-style short tags 17 " php_htmlInStrings HTML syntax highlighting inside strings
18 " php_parent_error_close = 1 for highlighting parent error ] or ) 18 " php_baselib highlighting baselib functions
19 " php_parent_error_open = 1 for skipping an php end tag, if there exists an open ( or [ without a closing one 19 " php_asp_tags highlighting ASP-style short tags
20 " php_oldStyle = 1 for using old colorstyle 20 " php_parent_error_close highlighting parent error ] or )
21 " php_noShortTags = 1 don't sync <? ?> as php 21 " php_parent_error_open skipping an php end tag, if there exists
22 " php_folding = 1 for folding classes and functions 22 " an open ( or [ without a closing one
23 " php_folding = 2 for folding all { } regions 23 " php_oldStyle use old colorstyle
24 " php_sync_method = x 24 " php_noShortTags don't sync <? ?> as php
25 " x=-1 to sync by search ( default ) 25 " Set to a specific value:
26 " x>0 to sync at least x lines backwards 26 " php_folding = 1 fold classes and functions
27 " x=0 to sync from start 27 " php_folding = 2 fold all { } regions
28 " 28 " php_sync_method = x where x is an integer:
29 " Added by Peter Hodge On June 9, 2006: 29 " -1 sync by search ( default )
30 " php_special_functions = 1|0 to highlight functions with abnormal behaviour 30 " >0 sync at least x lines backwards
31 " php_alt_comparisons = 1|0 to highlight comparison operators in an alternate colour 31 " 0 sync from start
32 " php_alt_assignByReference = 1|0 to highlight '= &' in an alternate colour 32 " Set to 0 to _disable_: (Added by Peter Hodge On June 9, 2006)
33 " 33 " php_special_functions = 0 highlight functions with abnormal behaviour
34 " Note: these all default to 1 (On), so you would set them to '0' to turn them off. 34 " php_alt_comparisons = 0 comparison operators in an alternate colour
35 " E.g., in your .vimrc or _vimrc file: 35 " php_alt_assignByReference = 0 '= &' in an alternate colour
36 " let php_special_functions = 0
37 " let php_alt_comparisons = 0
38 " let php_alt_assignByReference = 0
39 " Unletting these variables will revert back to their default (On).
40 " 36 "
41 " 37 "
42 " Note: 38 " Note:
43 " Setting php_folding=1 will match a closing } by comparing the indent 39 " Setting php_folding=1 will match a closing } by comparing the indent
44 " before the class or function keyword with the indent of a matching }. 40 " before the class or function keyword with the indent of a matching }.