diff --git a/.config/nvim/lua/plugin/autoclose.lua b/.config/nvim/lua/plugin/autoclose.lua index 2bfb336..693d57d 100644 --- a/.config/nvim/lua/plugin/autoclose.lua +++ b/.config/nvim/lua/plugin/autoclose.lua @@ -1,10 +1,13 @@ require("autoclose").setup({ - 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 = {} }, - }, + 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 = {} }, + }, + options = { + disabled_filetypes = { "text", "markdown" }, + } })