You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't hard at all, the hardest part is to not mess up indentation even more than it is now. js-mode's indent-line-function is just superbly stupid even in Emacs 26.
It'll probably make more sense to reimplement indent-line-function first.
PRs welcome :) I think it's an easy fix on the parsing side, we just need some tests here. On the indentation side, I'd have to check, but I think there's an assumption that if a node and its parent are both rjsx-nodes, then it's a nested relationship rather than a tag-attribute relationship. If only I'd added an rjsx-tag node to the parse tree...
Also per the spec on the repo, apparently props can be assigned literal JSX elements directly
The text was updated successfully, but these errors were encountered: