nix/home/config/nvim/module/plugin/Autoclose.nix

19 lines
739 B
Nix
Raw Normal View History

{ ... }:
{
text = ''
require("autoclose").setup({
keys = {
["'"] = { 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" },
-- }
})
'';
2024-04-06 03:03:58 +03:00
}