support rescript-jsx

This commit is contained in:
Pedro Castro 2022-02-09 03:21:11 -03:00 committed by windwp
parent 97e454ce9b
commit 2465eb6e5e

View File

@ -44,7 +44,7 @@ local function setup(opt)
bracket("[", "]"),
bracket("{", "}"),
Rule(">[%w%s]*$", "^%s*</",
{ 'html', 'typescript', 'typescriptreact', 'javascript' , 'javascriptreact', 'svelte', 'vue', 'xml'})
{ 'html', 'typescript', 'typescriptreact', 'javascript' , 'javascriptreact', 'svelte', 'vue', 'xml', 'rescript'})
:only_cr()
:use_regex(true)
}