mirror of
https://github.com/ilyakooo0/nvim-autopairs.git
synced 2024-09-11 15:26:37 +03:00
fix: change the order of double quote rule
make the rule " for all file first then user can modify it
This commit is contained in:
parent
94a4fa4b9f
commit
38f08137d4
@ -37,9 +37,9 @@ local function setup(opt)
|
|||||||
:with_pair(cond.not_before_regex("[%w<&]"))
|
:with_pair(cond.not_before_regex("[%w<&]"))
|
||||||
:with_pair(cond.not_after_text(">")),
|
:with_pair(cond.not_after_text(">")),
|
||||||
basic("`", "`"),
|
basic("`", "`"),
|
||||||
|
basic('"', '"','-vim'),
|
||||||
basic('"', '"','vim')
|
basic('"', '"','vim')
|
||||||
:with_pair(cond.not_before_regex("^%s*$", -1)),
|
:with_pair(cond.not_before_regex("^%s*$", -1)),
|
||||||
basic('"', '"','-vim'),
|
|
||||||
bracket("(", ")"),
|
bracket("(", ")"),
|
||||||
bracket("[", "]"),
|
bracket("[", "]"),
|
||||||
bracket("{", "}"),
|
bracket("{", "}"),
|
||||||
|
Loading…
Reference in New Issue
Block a user