Skip to content

Moonscript keyword highlighting issue #135

@safazi

Description

@safazi

On moonscript, if theres a {, a keyword will be highlighted with function style color.
image

Correct highlighting:

toPath = (path) ->
    if isArray path
        path
    else { path }

This occurs with any keyword.
image

Correct highlighting:

toPath = (path) ->
    if isArray path
        return path
    else
        return {path}

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