Open tmtxt opened 10 years ago
Yes, this doesn't seem to indent jsx at all. I see it's already been raised as an issue.
FYI for anyone else who comes across this issue, this is because this jsx-mode.el project is not made to edit Facebook's React JSX templates but rather this other compiled javascript language also called JSX. That having the same name as the React templates is entirely coincidental.
This is why the first commits to this repo were 4 years (pre-dating Facebook's JSX and React by years) and the last commit in this repo was back in 2013 (also pre-dating React).
indentation for javascript code works well but for jsx code, all lines are at the same indentation level![screen shot 2014-06-05 at 8 38 23 pm](https://cloud.githubusercontent.com/assets/2741919/3188023/02f100dc-ecb7-11e3-94fa-2c74ac963a57.png)