PHP syntax highlighting (Dark / Dark+ default themes): "instanceof" gets wrong color #94979
Labels
grammar
Syntax highlighting grammar
upstream-issue-linked
This is an upstream issue that has been reported upstream
Issue Type: Bug
Steps to Reproduce:
Select the Dark or Dark+ default theme.
Create a new empty file.
Change language mode to PHP.
Enter the following:
(Note I'm using an upper-case type name
Y
intentionally; this isn't the same issue as PHP Syntax Highlighting of instanceof keyword and class name #88441!)Observe the colour of
instanceof
. It should be coloured like a keyword, but isn't.Possible cause:
It appears that the themes don't contain a coloring rule for scope
keyword.operator.type.php
. The following custom settings appear to fix the problem:Does this issue occur when all extensions are disabled?: Yes
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: