mirror of
https://github.com/NvChad/NvChad.git
synced 2025-11-09 00:00:45 -05:00
takes less lines, looks much better remove neoscroll.lua, missed in 2952f4d5c74522c1ed0e22b1926335bde4c3ade0
15 lines
342 B
Lua
15 lines
342 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
|
|
}
|
|
)
|