mirror of
https://github.com/ilyakooo0/nvim-autopairs.git
synced 2024-10-26 08:41:46 +03:00
support rescript-jsx
This commit is contained in:
parent
97e454ce9b
commit
2465eb6e5e
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user