When I edit a .html file I get this when pressing enter key:
<div>|</div>
<div>
|
</div>
and while I edit a react file, the behavior is not what I was expecting:
<div>|</div>
<div>
|
</div>
/* Or sometimes is just like */
<div>
|
</div>
On the .html files it works perfectly but with react I have a problem, what should I do to get it to work the same?
:set filetype?