diff --git a/autoload/tcomment/types/default.vim b/autoload/tcomment/types/default.vim index bc9898d..e42ba4d 100644 --- a/autoload/tcomment/types/default.vim +++ b/autoload/tcomment/types/default.vim @@ -110,6 +110,9 @@ call tcomment#type#Define('java_inline', g:tcomment#inline_fmt_c ) call tcomment#type#Define('javascript', tcomment#GetLineC('// %s')) call tcomment#type#Define('javascript_block', g:tcomment#block_fmt_c ) call tcomment#type#Define('javascript_inline', g:tcomment#inline_fmt_c ) +call tcomment#type#Define('javascriptreact', tcomment#GetLineC('// %s')) +call tcomment#type#Define('javascriptreact_block', g:tcomment#block_fmt_c ) +call tcomment#type#Define('javascriptreact_inline', g:tcomment#inline_fmt_c ) call tcomment#type#Define('jsx', {'commentstring_rx': '\%%(// %s\|{/* %s */}\)', 'commentstring': '{/* %s */}'}) call tcomment#type#Define('jsx_block', '{/* %s */}') call tcomment#type#Define('jsx_inline', '{/* %s */}') @@ -241,6 +244,9 @@ call tcomment#type#Define('tup', '# %s' ) call tcomment#type#Define('typescript', tcomment#GetLineC('// %s')) call tcomment#type#Define('typescript_block', g:tcomment#block_fmt_c ) call tcomment#type#Define('typescript_inline', g:tcomment#inline_fmt_c ) +call tcomment#type#Define('typescriptreact', tcomment#GetLineC('// %s')) +call tcomment#type#Define('typescriptreact_block', g:tcomment#block_fmt_c ) +call tcomment#type#Define('typescriptreact_inline', g:tcomment#inline_fmt_c ) call tcomment#type#Define('typoscript', '# %s' ) call tcomment#type#Define('upstart', '# %s' ) call tcomment#type#Define('vader', {'col': 1, 'commentstring': '" %s' })