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

Space after function breaks highlighting #262

Open
boycce opened this issue May 6, 2021 · 0 comments
Open

Space after function breaks highlighting #262

boycce opened this issue May 6, 2021 · 0 comments

Comments

@boycce
Copy link

boycce commented May 6, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant