naomi
naomi copied to clipboard
Space after `function` breaks highlighting
Space after function
seems to break highlighting for a method inside an object literal.
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