Skip to content

Highlight functions when they are used as functions #3

@jakewilliami

Description

@jakewilliami

Some functions (namely eval and transforming functions, off the top of my head) should only be highlighted when we know they are being used as a function. Syntactically, this is when they are used with parentheses.

Instead of greedily highlighting them, we should do something similar to our conditional regex for eval functions.

I released v1.0.0 without this, despite knowing about this bug, as I thought it very minor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions