summaryrefslogtreecommitdiffstats
path: root/after/plugin/cmp.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-06-26 11:20:03 -0400
committerSquibid <me@zacharyscheiman.com>2023-06-26 11:20:03 -0400
commit9522738186ed058535bff7b26ea010b045d8e99c (patch)
treeb1def7d09da8317f18ec0b4f4b74f6c849a26e5e /after/plugin/cmp.lua
parentaa36dc2cf71859f6d338d911c0a5e677bdd519f5 (diff)
downloadnvim-9522738186ed058535bff7b26ea010b045d8e99c.tar.gz
nvim-9522738186ed058535bff7b26ea010b045d8e99c.tar.bz2
nvim-9522738186ed058535bff7b26ea010b045d8e99c.zip
change cmp source path to async_path
Diffstat (limited to '')
-rw-r--r--after/plugin/cmp.lua3
1 files changed, 2 insertions, 1 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' },