feat(cmp): Replace the hrsh7th/cmp-path plugin with FelipeLema/cmp-async-path

This commit is contained in:
star 2023-12-14 22:33:10 +08:00
parent 879e29504d
commit 96e9a2b7a3

View file

@ -38,7 +38,7 @@ return {
dependencies = { dependencies = {
"hrsh7th/cmp-nvim-lsp", "hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer", "hrsh7th/cmp-buffer",
"hrsh7th/cmp-path", "FelipeLema/cmp-async-path",
"saadparwaiz1/cmp_luasnip", "saadparwaiz1/cmp_luasnip",
}, },
opts = function() opts = function()
@ -74,7 +74,7 @@ return {
sources = cmp.config.sources({ sources = cmp.config.sources({
{ name = "nvim_lsp" }, { name = "nvim_lsp" },
{ name = "luasnip" }, { name = "luasnip" },
{ name = "path" }, { name = "async_path" },
}, { }, {
{ name = "buffer" }, { name = "buffer" },
}), }),