* PHP: Decrease priority of inline comment

This commit is contained in:
Zach DeCook 2020-07-14 17:20:52 -04:00
parent 421f4b36b2
commit d307f5a75b

View File

@ -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