a lot of stuff
This commit is contained in:
12
nvim/lua/plugins/autopairs.lua
Normal file
12
nvim/lua/plugins/autopairs.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user