nvim : disable autoclose for text and markdown.
This commit is contained in:
parent
cdc2347cdf
commit
ea02d7ce4c
|
@ -1,10 +1,13 @@
|
||||||
require("autoclose").setup({
|
require("autoclose").setup({
|
||||||
keys = {
|
keys = {
|
||||||
["'"] = { 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 = {} },
|
||||||
["`"] = { escape = true, close = true, pair = "``", disabled_filetypes = {} },
|
["`"] = { escape = true, close = true, pair = "``", disabled_filetypes = {} },
|
||||||
},
|
},
|
||||||
|
options = {
|
||||||
|
disabled_filetypes = { "text", "markdown" },
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
Reference in a new issue