summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--after/plugin/cmp.lua3
-rw-r--r--lua/core/plugins.lua2
2 files changed, 3 insertions, 2 deletions
diff --git a/after/plugin/cmp.lua b/after/plugin/cmp.lua
index 8c2ece9..a3a7094 100644
--- a/after/plugin/cmp.lua
+++ b/after/plugin/cmp.lua
@@ -47,10 +47,11 @@ cmp.setup {
luasnip.lsp_expand(args.body)
end,
},
+
sources = cmp.config.sources({
{ name = 'nvim_lsp', keyword_length = 3 },
{ name = 'luasnip', keyword_length = 3 },
- { name = 'path' },
+ { name = 'async_path' },
{ name = 'buffer', keyword_length = 3, max_item_count = 7 },
{ name = 'calc' },
{ name = 'neorg' },
diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua
index 4836c2e..40ca880 100644
--- a/lua/core/plugins.lua
+++ b/lua/core/plugins.lua
@@ -70,7 +70,7 @@ require 'dep' {
{ 'hrsh7th/nvim-cmp',
deps = {
'hrsh7th/cmp-buffer',
- 'hrsh7th/cmp-path',
+ 'FelipeLema/cmp-async-path',
'hrsh7th/cmp-calc',
'saadparwaiz1/cmp_luasnip',
'hrsh7th/cmp-nvim-lua',