alvan/vim-closetag

Disabling closing tag in regular Javascript files when outside JSX regions?

monsonjeremy opened this issue · 0 comments

Is it possible to disable the auto-closing of tags when outside of a JSX region in a regular javascript file? I don't really use the jsx extension and would like to be able to do the following:

let g:closetag_regions = {
    \ 'typescript.tsx': 'jsxRegion,tsxRegion',
    \ 'javascript.jsx': 'jsxRegion',
    \ 'javascript': 'jsxRegion',
    \ }