nvim : enable md back and disable ' globally.

This commit is contained in:
Dmitry Voronin 2023-09-30 04:39:42 +03:00
parent 330a198a21
commit f5f5d08ec4

View file

@ -1,13 +1,14 @@
require("autoclose").setup({
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 = {} },
},
options = {
disabled_filetypes = { "text", "markdown" },
}
-- options = {
-- disabled_filetypes = { "text", "markdown" },
-- }
})