perf: use cmp-async-path for async indexing without blocking main UI (#3067)

This commit is contained in:
N3cr0m4nc3r
2025-06-18 19:17:23 +05:30
committed by GitHub
parent 0ea8767b74
commit 63789f3465
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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" },
}, },
} }
+2 -2
View File
@@ -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"