mxw / vim-jsx

React JSX syntax highlighting and indenting for vim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong indentation when omitting semicolon

adrianhelvik opened this issue · comments

This code will not indent correctly:

if (something)
  return <div>Something!</div>
return <div>Else...</div>

I have to add a semicolon after the closing tag.