I've set up vim-closetag for use with tsx regions but it still adds closing tags for generics, which is quite annoying. Do I need to create the tsxRegion manually or where is it supposed to come from?
My config:
let g:closetag_filenames = "*.html,*.jsx,*.tsx,*.vue,*.xhml,*.xml"
let g:closetag_regions = {
\ 'typescript.tsx': 'jsxRegion,tsxRegion',
\ 'javascript.jsx': 'jsxRegion',
\ }
Otherwise, I'm really happy with this plugin, great time saver! 😃
I've set up
vim-closetag
for use with tsx regions but it still adds closing tags for generics, which is quite annoying. Do I need to create thetsxRegion
manually or where is it supposed to come from?My config:
Otherwise, I'm really happy with this plugin, great time saver! 😃