mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 13:30:41 +00:00
86903ab982
* addded stylua config file * chore: formatted with stylua
12 lines
321 B
Lua
12 lines
321 B
Lua
local present1, autopairs = pcall(require, "nvim-autopairs")
|
|
local present2, autopairs_completion = pcall(require, "nvim-autopairs.completion.compe")
|
|
|
|
if not (present1 or present2) then
|
|
return
|
|
end
|
|
|
|
autopairs.setup()
|
|
autopairs_completion.setup {
|
|
map_cr = true,
|
|
map_complete = true, -- insert () func completion
|
|
}
|