BIG NEOVIM CHANGES

This commit is contained in:
cnst
2024-07-14 18:22:26 +02:00
parent 53cbebb9dd
commit e4d12360ba
22 changed files with 775 additions and 99 deletions

View File

@@ -0,0 +1,13 @@
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,
}