bravoman
245a24b101
Added matching for shebang headers like #!/bin/php
...
Should also match:
#!/usr/bin/env php
#!php
2022-01-03 14:27:48 +01:00
Zach DeCook
e50fb095bf
* PHP: Make paamayim nekodotayim same color as arrow
2020-07-15 14:52:33 -04:00
Zach DeCook
d307f5a75b
* PHP: Decrease priority of inline comment
2020-07-14 17:20:52 -04:00
Zach DeCook
421f4b36b2
* PHP: Improve operator coloring, support Nowdocs, Heredocs
2020-07-14 17:14:05 -04:00
Gareth Jones
1ef8583bae
fix(php): only highlight the spaces that are trailing
2020-05-01 10:22:23 +12:00
emidiostani
a527805ceb
include PHP syntax highlighting for .module files (used by Drupal)
2020-02-05 12:48:21 +01:00
Zach DeCook
db98b9f1b5
* NanoRC Files: Copy linter and magic from nano 4.6 configs
2019-12-18 11:20:31 -05:00
Zach DeCook
97f06f6c73
* Nanorc: Copy comment syntax from nano 4.6 nanorcs
2019-12-18 11:13:13 -05:00
Ondřej Ešler
7e1cb42c50
fix PHP classes with underscore character
2018-12-17 12:32:30 +01:00
Thomas Rosenau
37662b1685
Remove bad escape
2016-03-03 00:50:39 +01:00
ThomasR
bba53c3940
Rename syntax definitions
...
Duplicate syntax definition names may cause problems.
Since nano comes with predefined all-lowercase syntax definitions,
we use uppercase letters everywhere to reduce the risk of future conflicts
2016-03-02 20:51:19 +01:00
John S Long
178ce558f9
Add namespace/use keywords for PHP
2015-12-15 01:44:09 -06:00
Ian Mustafa
146c3848b5
Remove lazy operator for OS X compatibility
...
Should work well as of pull request #14
2014-10-05 07:42:44 +07:00
Sina
2f105dc7ba
Update php.nanorc
...
Small typo error fix
2014-08-02 22:23:19 +01:00
Sina
7f97ded8d8
Update php.nanorc
...
A much better grammar for php.
Found and taken from: https://code.google.com/p/nanosyntax/issues/detail?id=4
2014-08-02 05:24:56 +01:00
Anthony Scopatz
2d2bb4ba12
First nanorc commit.
2010-07-28 17:15:43 -05:00