Results 51 comments of Felipe

Can you paste the whole buffer content that causes the issue?

I understand the issue, but still cannot reproduce. Where in the buffer are you writing this?

Sorry still nothing. Can you reproduce the issue in an `emacs -Q` session? Have you updated to the latest version of `rjsx`?

And can you reproduce in an `emacs -Q` session? I understand the issue you're describing, but unless I can reproduce on my machine it's very hard to debug. Can you...

And does it work with `emacs -Q`? What are the results in your normal session?

Ok. At this point you should try bisecting your config to see what causes the issue. I personally use `js2-refactor`, and `tide`, so I it's probably not one of those....

I think I may have found it... Can you try disabling `flyspell-prog-mode` and seeing if you can reproduce the issue? Can you then re-enable flyspell and after typing `

I just gave this a try, but the problem is most reserved keywords are not parsed as `NAME` tokens, but rather their own tokens (`js2-CLASS`, `js2-EXPORT`, etc.). If there were...

IIRC, the `KEYWORD_IS_NAME` helps in some cases, but there are a lot of keywords it still parses specially. If you're asking about how `rjsx-parse-identifier` works (which I agree is a...