Commit graph

31 commits

Author SHA1 Message Date
Stan Angeloff
22c7308fdb Restore spell-checking in docblock comments. 2014-01-13 16:38:15 +02:00
Stan Angeloff
b6c2b2937d Merge remote-tracking branch 'boxofrox/fix/php-tag-recognition' 2014-01-09 09:22:06 +02:00
Justin Charette
65e2b0ae85 Stop phpDocParam highlight leakage
Problem:  The new Java-like syntax highligting added phpDocComment, et
al.  However phpDocParams highlighted indented html tags in a file with
no doc comments.

Fix: Mark phpDocParams as contained, so phpDocParams must reside in
phpDocComments to receive vim highlights.

Signed-off-by: Justin Charette <charetjc@gmail.com>
2014-01-08 23:48:50 -05:00
Stan Angeloff
356f296e56 Extend PHP to use Java-like syntaxing highlighting (via @tetsuo13).
This commit merges parts of:

9d1e381f03
2014-01-03 11:20:39 +02:00
Stan Angeloff
bbe3272c39 Merge @paulyg commits.
This commit merges parts of:

b9b2b2daaa
e3333be231
2014-01-03 10:50:52 +02:00
Stan Angeloff
fc99f30264 Highlight booleans as 'Boolean'. 2014-01-02 17:31:36 +02:00
Stan Angeloff
dface50c42 Add 'yield' to the list of keywords (as of PHP 5.5). 2014-01-02 17:28:18 +02:00
Stan Angeloff
c85155b2c2 Update template file and re-generate using PHP 5.5.7
$ php -v

PHP 5.5.7-1+sury.org~saucy+1 (cli) (built: Dec 12 2013 21:54:59)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
    with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies
    with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans
2014-01-02 17:25:35 +02:00
Stan Angeloff
200921f568 Merge @joshtronic commit.
This commit merges parts of:

e9c5d0f6be

The 'finally' keyword was added to the list of recognised keywords.
2014-01-02 17:19:09 +02:00
Stan Angeloff
8adb70b636 Merge @pixelastic commit.
This commit merges parts of:

8b4b165bab
2014-01-02 17:17:09 +02:00
Stan Angeloff
4cd4f224ec Merge @aantonello commits.
This commit merges parts of:

9d24eab4ea
63c93d8825

The syntax file is more closely aligned with the generic syntax highlighting
groups in Vim.

This didn't change highlighting for my custom syntax colours, hopefully it
will not affect others as well.
2014-01-02 17:13:53 +02:00
Stan Angeloff
36ccde5296 Auto-generate Vim syntax with PHP 5.5.0RC1.
This commit does not add support for the new 5.5 keywords or language
constructs.
2013-05-14 14:43:13 +03:00
Stan Angeloff
f398d9a5e8 Auto-generate Vim syntax with PHP 5.5.0alpha5 (cli) (built: Feb 25 2013). 2013-02-25 09:41:59 +02:00
Stan Angeloff
6e695b0557 Use MySQL as the default buffer SQL syntax. 2013-02-25 09:05:40 +02:00
Stan Angeloff
48d2f7bb77 Merge remote-tracking branch 'jaywilliams/mysql'
> Use MySQL for Syntax Highlighting.
>
> Rather than use the limited SQL syntax, why not use the full MySQL syntax?
2013-02-25 08:58:24 +02:00
Stan Angeloff
e231676f34 Clean up syntax file, no functional changes. 2013-02-25 08:56:48 +02:00
Jay Williams
54cce0565c Use Mysql for SQL Syntax 2013-02-22 16:42:22 -06:00
Jay Williams
e6c311fdc9 Use Mysql for SQL Syntax 2013-02-22 16:42:00 -06:00
Stan Angeloff
fcfbb12a68 Auto-generate Vim syntax with PHP 5.4.6-1ubuntu1.1. 2012-11-29 13:57:34 +02:00
Stan Angeloff
c9ff5be35c Update README (switch to Markdown too). 2012-06-01 10:50:53 +03:00
Stan Angeloff
eae050302e Basic PHP 5.4 support.
This commit adds support for:

- New Core constants,
- New language keywords: trait, insteadof,
- New types, e.g., calleable and binary numbers.
2012-04-16 17:04:21 +03:00
Stan Angeloff
c74b98e131 Update template script to be smarter about missing extensions. 2012-04-16 16:52:50 +03:00
Stan Angeloff
aaf3338e6f Update template and get rid of whitespace at EOL. 2012-04-16 16:46:37 +03:00
Stan Angeloff
14823f4b05 Get rid of some extensions and rebuild with latest PHP 5.3.x on Ubuntu.
This commit introduces a new template file which will be used when
re-generating the syntax from within PHP.

In addition, several less commonly used extensions are turned off to speed up
loading of the php.vim file on start up.
2012-04-16 16:43:38 +03:00
Stan Angeloff
02a3410864 Silent call to unlet! + spellcheck updates.
Conflicts:

	syntax/php.vim

These were borrowed from paulyg/Vim-PHP-Stuff.
2012-04-16 16:11:40 +03:00
Stan Angeloff
845c961137 Add compatibility with recent html5.vim changes.
See aa0f693e7d
2012-03-06 14:47:39 +02:00
Stan Angeloff
2580adff32 Add spelling support in heredocs. 2011-11-17 15:32:01 +02:00
Stan Angeloff
993e31272d Update PHP functions list.
Rebuilt on PHP 5.3.6/Ubuntu with most extensions installed from main repo.
2011-11-17 15:22:30 +02:00
Stan Angeloff
00a9a651af Add spell-checking to strings and comments. 2011-11-17 15:06:24 +02:00
Paul Garvin
0148af0668 Version 1.1
Added missing keyword 'default'. Added highlighting of escaped single quotes, double quotes, backslashes, and dollar signs in strings. Shows up same color as \r, \n & friends.
-
Paul Garvin
09ddf308e3 Version 1.0: Initial upload -