Questions tagged [plugin-vim-jsx]

React JSX syntax highlighting and indenting for Vim.

Filter by
Sorted by
Tagged with
4 votes
1 answer
1k views

How to prevent vim-jsx from mangling my indentation?

Looks like the issue is caused by vim-jsx. Given: componentDidMount: function() { ▐$.ajax({ }); I press enter to move $.ajax onto a new line and the top line folds as well: componentDidMount: ...
firedev's user avatar
  • 2,382