Closed alxdnlnko closed 6 years ago
I attempted to adapt vim-jsx for this purpose and came up with a separate plugin: https://github.com/jonsmithers/experimental-lit-html-vim
This is probably most suitable for the base JS/ES plugin rather than vim-jsx. Maybe submit a PR to vim-javascript?
It seems to be not so difficult to support ES6 template literals.
It is already used in new Polymer projects and lit-html.
Tried to redefine the jsTemplateString region (added jsxRegion to it), and it works, but I don't know the right way of doing this :)