scopatz / nanorc

Improved Nano Syntax Highlighting Files
Other
3.04k stars 556 forks source link

* PHP: Improve operator coloring, support Nowdocs, Heredocs #320

Closed earboxer closed 4 years ago

earboxer commented 4 years ago

I recently started using the font Monoid, which has ligatures for common programming symbols (->, =>, >=, etc). However, my terminal emulator wouldn't connect the ligatures if the syntax highlighting had them in a different color. This inspired me to update the syntax highlighting file.

Features

$object->attribute;
$array['key'];
$object->method('attribute');
scopatz commented 4 years ago

Cool, thanks!