mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-07-06 03:54:27 +02:00
Merge branch 'nvim-lua:master' into master
This commit is contained in:
commit
aba284e39f
2 changed files with 98 additions and 131 deletions
|
@ -4,13 +4,5 @@
|
|||
return {
|
||||
'windwp/nvim-autopairs',
|
||||
event = 'InsertEnter',
|
||||
-- Optional dependency
|
||||
dependencies = { 'hrsh7th/nvim-cmp' },
|
||||
config = function()
|
||||
require('nvim-autopairs').setup {}
|
||||
-- If you want to automatically add `(` after selecting a function or method
|
||||
local cmp_autopairs = require 'nvim-autopairs.completion.cmp'
|
||||
local cmp = require 'cmp'
|
||||
cmp.event:on('confirm_done', cmp_autopairs.on_confirm_done())
|
||||
end,
|
||||
opts = {},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue