Commit graph

22 commits

Author SHA1 Message Date
Joshua Sherman
d30ecd69f8 Added @license as well
Pretty much adding @tags as I'm running into them in projects.
2014-01-14 01:01:14 -05:00
Joshua Sherman
dfe51a3864 Merge remote-tracking branch 'upstream/master'
Conflicts:
	syntax/php.template
	syntax/php.vim

Attempted to merge in upstream changes as they claimed to have fixed an issue
that broke spell checking presumably introduced by my branch. I was unable to
get spell checking working with the syntax file that was part of my original
fork: 36ccde5296

Because of this I left my script as is in favor of highlighting just the
@attribute part of the docblock and not highlighting the entire comment string
which appeared visually awkward to me. Ideally I'd love to get spell checking
working in all the places that it should be working but that seems to be a
bigger issue all together.

Also added support for the @usage attribute as it's something that is fairly
common albeit not standard docblocking
2014-01-14 00:23:14 -05:00
Joshua Sherman
4d3a14f74b Enabling more modules
I don't see the need in selectively including syntax for modules when I can
just install the modules and include them all. Expanded to include all of the
modules I could that were in the list already and updated. Going to look into
getting a more up to date module list for PHP 5.5+ and expanding further.
2014-01-13 23:32:12 -05:00
Joshua Sherman
40a8adb7f3 Fixed issue with static classes with numbers
Inadvertently also resolved issues with static classes with underscores as
well. Thanks to @kris89 for giving me a head's up where to look. Closes #2
2014-01-13 22:47:02 -05:00
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
Joshua Sherman
e6ea831193 Merge branch 'master' of https://github.com/kris89/php.vim
Conflicts:
	syntax/php.template
2014-01-07 10:54:41 -05:00
Husak Kristijan
a3a40f7585 adds dockblock update 2014-01-07 09:13:03 +01:00
Joshua Sherman
45af33ff74 Added Static class and docblock highlighting
This is actually a rework of the patch @kris89 sent in that adds the syntax to the php.template file so they won't be lost when regenerating the php.vim file. Thanks @kris89 !!
2014-01-06 09:35:58 -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
Joshua Sherman
e9c5d0f6be Updated header and added support for finally 2014-01-01 12:30:11 -05: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
e6c311fdc9 Use Mysql for SQL Syntax 2013-02-22 16:42:00 -06: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
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