orktes/atom-react

Scopes are applied too broadly in JSX grammar

Opened this issue · 0 comments

meta.brace.curly.js (and round as well) give their scope to their contents, not just the braces themselves. I stumbled across this problem (with the help of @hotel from the slack) while working on https://github.com/calebmeyer/prismatic-parens .

Here's a screenshot showing what's happening:
image