Skip to content

Space after function breaks highlighting #262

@boycce

Description

@boycce

Space after function seems to break highlighting for a method inside an object literal.

image

Here are the scope names that are being returned for the method names:

# First (good)
source.js meta.object-literal.js.fjsx15 meta.block.js.fjsx15 meta.declaration.function.js.fjsx15 meta.object-literal.key.js.fjsx15 entity.name.function.js.fjsx15

# Second (bad)
source.js meta.object-literal.js.fjsx15 meta.block.js.fjsx15 meta.object-literal.key.js.fjsx15 string.unquoted.js.fjsx15

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