This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Invalid Highlighting after Capital Function if doesn't have a parent object or "new" keyword #431
Open
Description
[Title isn't the most clear, but it's the best I could come up with.]
If a function that starts with a capital letter doesn't have a parent object (window
) or a keyword (new
) then most tokens afterwards will be mislabeled.
Examples
These screenshots are from the One Dark theme (brownish background) and the Oceanic Next theme (blueish background). The same results can be seen with just about any theme that's not One Dark/Light.