chore(nvim): improved cmp performance and added fugitive
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
return {
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
"yioneko/nvim-cmp",
|
||||
branch = "perf",
|
||||
event = "VeryLazy",
|
||||
dependencies = {
|
||||
"hrsh7th/cmp-nvim-lsp", -- lsp
|
||||
@@ -28,6 +29,10 @@ return {
|
||||
luasnip.lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
performance = {
|
||||
debounce = 0,
|
||||
throttle = 0,
|
||||
},
|
||||
mapping = {
|
||||
["<C-n>"] = cmp.mapping.select_next_item({ behavior = cmp.SelectBehavior.Insert }),
|
||||
["<C-p>"] = cmp.mapping.select_prev_item({ behavior = cmp.SelectBehavior.Insert }),
|
||||
|
||||
Reference in New Issue
Block a user