mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 10:50:26 +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
|
||||
color green "(\;\;|\|\||::|=>)"
|
||||
color cyan "->"
|
||||
# Online Comments
|
||||
color brightyellow "^(#.*|//.*)$"
|
||||
color brightyellow "[ | ](#.*|//.*)$"
|
||||
# Double quoted STRINGS!
|
||||
color red "(\"[^\"]*\")"
|
||||
# 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 "\{\$[^}]*\}"
|
||||
# Single quoted string
|
||||
color red "('[^']*')"
|
||||
# Online Comments
|
||||
color brightyellow "^(#.*|//.*)$"
|
||||
color brightyellow "[ | ](#.*|//.*)$"
|
||||
# PHP Tags
|
||||
color red "(<\?(php)?|\?>)"
|
||||
# General HTML
|
||||
|
|
Loading…
Reference in New Issue
Block a user