Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't highlight top-level-only keywords at different levels #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 15, 2024

  1. 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.
    Hi-Angel committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    ba3e997 View commit details
    Browse the repository at this point in the history