Closed GroggyOtter closed 1 year ago
It does not appear that semantic highlighting is enabled.
When semantic highlighting is enabled, only the variable name default
itself will be highlighted as keyword.control.default.ahk2
. Hovering over =
shows the error: Missing operand
.
If any variable that starts with
default
is used inside a switch, it's highlighted usingkeyword.control.default.ahk2
instead ofvariable.other.ahk2
.It doesn't have to be the first word, either. If you assign a value that starts with default, such as
default_value
, it highlights the default part askeyword.control.default.ahk2
and the rest of the word gets themeta.body.switch.ahk2
style.Example: All the
default
words in this picture should be yellow.Thank you for keeping this addon up-to-date and maintained.