From 7ab171a896c6031fb51e39ba76212b2063b028f6 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Sat, 22 Jan 2022 23:46:25 +0100 Subject: [PATCH] update nvim_cmp ocnfig --- .config/nvim/lua/pluginconf/nvim_cmp.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/pluginconf/nvim_cmp.lua b/.config/nvim/lua/pluginconf/nvim_cmp.lua index e4f5b4e..300b6d9 100644 --- a/.config/nvim/lua/pluginconf/nvim_cmp.lua +++ b/.config/nvim/lua/pluginconf/nvim_cmp.lua @@ -17,9 +17,11 @@ cmp.setup { }, sources = cmp.config.sources { - { name = "nvim_lsp" }, - { name = "luasnips" }, + { name = "buffer" }, { name = "crates" }, + { name = "luasnip" }, + { name = "nvim_lsp" }, + { name = "path" }, { name = "rg" }, }, }