mxw / vim-jsx

React JSX syntax highlighting and indenting for vim.
1.59k stars 95 forks source link

Support for es6 Classes? #34

Closed metasansana closed 9 years ago

metasansana commented 9 years ago

I noticed they were not being indented.

React is investing in the class syntax: http://facebook.github.io/react/blog/2015/01/27/react-v0.13.0-beta-1.html

mxw commented 9 years ago

This module is only for JSX syntax and indentation. Any plain JS or ES6 support is left to the vim-javascript dependency (which, afaict, does support classes now—do you have it properly installed?).

metasansana commented 9 years ago

Nevermind, looks like I had some syntax errors.