perf: use cmp-async-path for async indexing without blocking main UI (#3067)
This commit is contained in:
@@ -50,7 +50,7 @@ local options = {
|
|||||||
{ name = "luasnip" },
|
{ name = "luasnip" },
|
||||||
{ name = "buffer" },
|
{ name = "buffer" },
|
||||||
{ name = "nvim_lua" },
|
{ name = "nvim_lua" },
|
||||||
{ name = "path" },
|
{ name = "async_path" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -137,8 +137,8 @@ return {
|
|||||||
"hrsh7th/cmp-nvim-lua",
|
"hrsh7th/cmp-nvim-lua",
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
"hrsh7th/cmp-buffer",
|
"hrsh7th/cmp-buffer",
|
||||||
"hrsh7th/cmp-path",
|
"https://codeberg.org/FelipeLema/cmp-async-path.git"
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
opts = function()
|
opts = function()
|
||||||
return require "nvchad.configs.cmp"
|
return require "nvchad.configs.cmp"
|
||||||
|
|||||||
Reference in New Issue
Block a user