2023-04-12 20:09:30 +02:00
|
|
|
require("nvim-autopairs").setup({
|
2022-10-12 16:02:54 +02:00
|
|
|
check_ts = true,
|
2022-10-08 12:44:11 +02:00
|
|
|
disable_filetype = { "TelescopePrompt", "neo-tree" },
|
|
|
|
ts_config = {
|
|
|
|
lua = { "string", "source" },
|
|
|
|
},
|
|
|
|
fast_wrap = {
|
|
|
|
map = "<M-e>",
|
|
|
|
chars = { "{", "[", "(", '"', "'" },
|
|
|
|
pattern = string.gsub([[ [%'%"%)%>%]%)%}%,] ]], "%s+", ""),
|
2022-10-12 16:02:54 +02:00
|
|
|
offset = 0,
|
2022-10-08 12:44:11 +02:00
|
|
|
end_key = "$",
|
|
|
|
keys = "qwertyuiopzxcvbnmasdfghjkl",
|
|
|
|
check_comma = true,
|
|
|
|
highlight = "PmenuSel",
|
|
|
|
highlight_grey = "LineNr",
|
|
|
|
},
|
2022-10-01 13:46:18 +02:00
|
|
|
})
|