mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
fix: remove autopairs cmp completion (#2083)
This commit is contained in:
parent
bccbcff3ab
commit
ccb5a6f060
1 changed files with 0 additions and 8 deletions
|
@ -85,14 +85,6 @@ M.setup = function()
|
|||
end),
|
||||
}
|
||||
|
||||
local cmp_status_ok, cmp = pcall(require, "cmp")
|
||||
if cmp_status_ok then
|
||||
-- If you want insert `(` after select function or method item
|
||||
local cmp_autopairs = require "nvim-autopairs.completion.cmp"
|
||||
local map_char = lvim.builtin.autopairs.map_char
|
||||
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done { map_char = map_char })
|
||||
end
|
||||
|
||||
require("nvim-treesitter.configs").setup { autopairs = { enable = true } }
|
||||
|
||||
local ts_conds = require "nvim-autopairs.ts-conds"
|
||||
|
|
Loading…
Reference in a new issue