mirror of
https://github.com/scopatz/nanorc
synced 2024-11-24 01:25:39 +01:00
* PHP: Decrease priority of inline comment
This commit is contained in:
parent
421f4b36b2
commit
d307f5a75b
@ -39,9 +39,6 @@ color yellow "( and | or | xor |!|&&|\|\|)"
|
|||||||
# And/Or/SRO/etc
|
# And/Or/SRO/etc
|
||||||
color green "(\;\;|\|\||::|=>)"
|
color green "(\;\;|\|\||::|=>)"
|
||||||
color cyan "->"
|
color cyan "->"
|
||||||
# Online Comments
|
|
||||||
color brightyellow "^(#.*|//.*)$"
|
|
||||||
color brightyellow "[ | ](#.*|//.*)$"
|
|
||||||
# Double quoted STRINGS!
|
# Double quoted STRINGS!
|
||||||
color red "(\"[^\"]*\")"
|
color red "(\"[^\"]*\")"
|
||||||
# Heredoc (typically ends with a semicolon).
|
# Heredoc (typically ends with a semicolon).
|
||||||
@ -50,6 +47,9 @@ color red start="<<<['\"]?[A-Z][A-Z0-9_]*['\"]?" end="^[A-Z][A-Z0-9_]*;"
|
|||||||
color white "\{\$[^}]*\}"
|
color white "\{\$[^}]*\}"
|
||||||
# Single quoted string
|
# Single quoted string
|
||||||
color red "('[^']*')"
|
color red "('[^']*')"
|
||||||
|
# Online Comments
|
||||||
|
color brightyellow "^(#.*|//.*)$"
|
||||||
|
color brightyellow "[ | ](#.*|//.*)$"
|
||||||
# PHP Tags
|
# PHP Tags
|
||||||
color red "(<\?(php)?|\?>)"
|
color red "(<\?(php)?|\?>)"
|
||||||
# General HTML
|
# General HTML
|
||||||
|
Loading…
Reference in New Issue
Block a user