vim-jsx-typescript
vim-jsx-typescript copied to clipboard
React doc comment not working
trafficstars
Doc comments don't seem to work in a typescript react file.
In a .ts file:
/** <I type this, and press enter and the '*' is auto inserted on the next line - good>
*
In a .tsx file:
/** <I type this, and press enter and nothing is inserted on the next line - bad>
Is this a problem with this plugin or something else?
I write comments in jsx/tsx like:
<h1>Hello World</h1>
{ /* this is a comment */ }
<h2>Typescript is still cool</h2>