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

React doc comment not working

Open himat opened this issue 4 years ago • 1 comments
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?

himat avatar Dec 30 '20 20:12 himat

I write comments in jsx/tsx like:

<h1>Hello World</h1>
{ /* this is a comment */ }
<h2>Typescript is still cool</h2>

zacharytyhacz avatar Jun 14 '21 19:06 zacharytyhacz