tomtom / tcomment_vim

An extensible & universal comment vim-plugin that also handles embedded filetypes

Home Page:http://www.vim.org/scripts/script.php?script_id=1173

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React doc comment not working

himat opened this issue · comments

commented

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 tcomment or something else?

commented

What is '&comments'? and where do I check the definitions of 'comments' for the filetypes?