Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't highlight top-level-only keywords at different levels
The keywords being modified here only represented keywords when they are at the beginning of a line with optional indentation. At different levels these would represent valid record fields or other identifiers. This was tested by adding the following code to a PureScript file: type Foo = { type :: Int , module :: Int , import :: Int , data :: Int , class :: Int , newtype :: Int } …and checking that compilation succeeds.
- Loading branch information