Replace `auto-pairs` with `nvim-autopairs`
parent
75915cbff9
commit
329e46f137
|
@ -36,7 +36,11 @@ return require("lazy").setup({
|
|||
"lewis6991/impatient.nvim", -- Caching lua modules for faster startup
|
||||
"j-hui/fidget.nvim", -- notifications UI
|
||||
"MunifTanjim/nui.nvim", -- General UI
|
||||
"jiangmiao/auto-pairs", -- Autoclosing of brackets and quotes
|
||||
{
|
||||
"windwp/nvim-autopairs", -- Autoclosing of brackets and quotes
|
||||
event = "InsertEnter",
|
||||
config = true,
|
||||
},
|
||||
"nvim-pack/nvim-spectre", -- Find and replace
|
||||
|
||||
-- Tools
|
||||
|
|
|
@ -67,3 +67,6 @@ cmp.setup({
|
|||
cmp.setup.filetype("ledger", {
|
||||
sources = cmp.config.sources({ name = "omni" }),
|
||||
})
|
||||
|
||||
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
|
||||
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done())
|
||||
|
|
Loading…
Reference in New Issue