mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-02-22 22:28:00 +00:00
19 lines
445 B
Lua
19 lines
445 B
Lua
require("nvim-autopairs").setup({
|
|
check_ts = true,
|
|
disable_filetype = { "TelescopePrompt", "neo-tree" },
|
|
ts_config = {
|
|
lua = { "string", "source" },
|
|
},
|
|
fast_wrap = {
|
|
map = "<M-e>",
|
|
chars = { "{", "[", "(", '"', "'" },
|
|
pattern = string.gsub([[ [%'%"%)%>%]%)%}%,] ]], "%s+", ""),
|
|
offset = 0,
|
|
end_key = "$",
|
|
keys = "qwertyuiopzxcvbnmasdfghjkl",
|
|
check_comma = true,
|
|
highlight = "PmenuSel",
|
|
highlight_grey = "LineNr",
|
|
},
|
|
})
|