Closed unclechu closed 6 years ago
as
keyword also have this issue:
Also if I just rename import
to module
it goes okay (maybe some parts of regex from module
could be taken to fix import
regex).
Please try the new version. It now consistently highlights classes, kinds, and functions within import and module syntax groups.
@coot now I have both this issue and new one, all module names have similar color as import
/module
keyword.
So, I guess this issue supposed to be reopened.
The bottom screenshare is how it is supposed to look like. You might differentiate the import
and module
by having different colours for purscriptImportKeyword
(by default linked to purescriptKeyword
) and purescriptModuleName
(by default linked to Include
) highlight classes.
The top one looks different here, ReactClass
and other that start with an uppercase letter have purescritpConstructor
syntax group and other have purescriptIdentifier
. It's a bit different when they are in the same line (which should be fixed), but still the default highlighting is consistent.