mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 08:53:31 +02:00
update
This commit is contained in:
parent
47a45924b4
commit
f39bb7987f
2 changed files with 3 additions and 2 deletions
|
@ -222,8 +222,8 @@ return {
|
||||||
"windwp/nvim-autopairs",
|
"windwp/nvim-autopairs",
|
||||||
commit = "4fc96c8f3df89b6d23e5092d31c866c53a346347",
|
commit = "4fc96c8f3df89b6d23e5092d31c866c53a346347",
|
||||||
dependencies = "hrsh7th/nvim-cmp",
|
dependencies = "hrsh7th/nvim-cmp",
|
||||||
event = "VeryLazy",
|
event = "InsertEnter",
|
||||||
init = function()
|
config = function()
|
||||||
require("user.autopairs")
|
require("user.autopairs")
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
|
@ -25,6 +25,7 @@ npairs.setup({
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- If you want insert `(` after select function or method item
|
||||||
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
|
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
|
||||||
local cmp_status_ok, cmp = pcall(require, "cmp")
|
local cmp_status_ok, cmp = pcall(require, "cmp")
|
||||||
if not cmp_status_ok then
|
if not cmp_status_ok then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue