Closed mallt closed 5 years ago
The PHP Lexer has no token for booleans and this plugin uses syntax coloring for lexer tokens so it wouldn't make sense to use a special syntax coloring for booleans. Function names and booleans are lexed as T_STRING and therefore they have identical syntax coloring.
Ok I see, thank you for the explanation!
@cjohansson First of all thanks a lot for creating this package! I've been comparing the font locking between
phps-mode
andphp-mode
, and I've noticed inphps-mode
booleans are font locked as strings instead of constants:Is there a chance this font locking could be changed or perhaps controlled by a customization variable?
Thanks!