vim-jsx icon indicating copy to clipboard operation
vim-jsx copied to clipboard

Wrong indentation when omitting semicolon

Open adrianhelvik opened this issue 6 years ago • 0 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.

adrianhelvik avatar Apr 25 '18 10:04 adrianhelvik