Files
nvim-config/lua/plugins/autoclose.lua

18 lines
435 B
Lua

return {
{
"m4xshen/autoclose.nvim",
config = function()
require("autoclose").setup({
keys = {
--[[**
* Here I'm removing the single quote "tick" character from autoclose
* because I almost never use single quotes for string literals, but
* I often use them as apostrophes (which should not be autoclosed).
*]]
["'"] = { escape = false, close = false, pair = "''" },
},
})
end,
},
}