nvim : enable md back and disable ' globally.
This commit is contained in:
parent
330a198a21
commit
f5f5d08ec4
|
@ -1,13 +1,14 @@
|
||||||
require("autoclose").setup({
|
require("autoclose").setup({
|
||||||
keys = {
|
keys = {
|
||||||
["'"] = { escape = true, close = true, pair = "''", disabled_filetypes = {} },
|
["'"] = { escape = false, close = false, pair = "''", disabled_filetypes = {} },
|
||||||
|
|
||||||
["\""] = { escape = true, close = true, pair = "\"\"", disabled_filetypes = {} },
|
["\""] = { escape = true, close = true, pair = "\"\"", disabled_filetypes = {} },
|
||||||
["{"] = { escape = true, close = true, pair = "{}", disabled_filetypes = {} },
|
["{"] = { escape = true, close = true, pair = "{}", disabled_filetypes = {} },
|
||||||
["("] = { escape = true, close = true, pair = "()", disabled_filetypes = {} },
|
["("] = { escape = true, close = true, pair = "()", disabled_filetypes = {} },
|
||||||
["<"] = { escape = true, close = true, pair = "<>", disabled_filetypes = {} },
|
["<"] = { escape = true, close = true, pair = "<>", disabled_filetypes = {} },
|
||||||
["`"] = { escape = true, close = true, pair = "``", disabled_filetypes = {} },
|
["`"] = { escape = true, close = true, pair = "``", disabled_filetypes = {} },
|
||||||
},
|
},
|
||||||
options = {
|
-- options = {
|
||||||
disabled_filetypes = { "text", "markdown" },
|
-- disabled_filetypes = { "text", "markdown" },
|
||||||
}
|
-- }
|
||||||
})
|
})
|
||||||
|
|
Reference in a new issue