Skip to content

font-lock mode doesn't recognize PackageImports syntax #184

Closed
@hvr

Description

@hvr

When using the PackageImports syntax, the font-lock code gets confused and doesn't highlight properly import-specification keywords as and hiding with the font-lock-keyword-face anymore, as in the following example:

import qualified Eighteen as PRELUDE hiding (A) -- works
import "abc"     Twenty as TWO hiding (A) -- `as`/`hiding` not detected as keywords

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions