diff --git a/.config/nvim/lua/user/cmp.lua b/.config/nvim/lua/user/cmp.lua index 1eb816b..c77376d 100644 --- a/.config/nvim/lua/user/cmp.lua +++ b/.config/nvim/lua/user/cmp.lua @@ -46,7 +46,7 @@ local kind_icons = { cmp.setup({ snippet = { expand = function(args) - luasnip.lsp_expand(args.body) -- For `luasnip` users. + luasnip.lsp_expand(args.body) end, }, @@ -98,7 +98,6 @@ cmp.setup({ vim_item.kind = kind_icons[vim_item.kind] vim_item.menu = ({ nvim_lsp = "", - nvim_lua = "", luasnip = "", buffer = "", path = "", @@ -109,7 +108,6 @@ cmp.setup({ }, sources = { { name = "nvim_lsp" }, - { name = "nvim_lua" }, { name = "luasnip" }, { name = "buffer" }, { name = "path" }, diff --git a/.config/nvim/lua/user/plugins.lua b/.config/nvim/lua/user/plugins.lua index 51cde47..c2588fe 100644 --- a/.config/nvim/lua/user/plugins.lua +++ b/.config/nvim/lua/user/plugins.lua @@ -73,7 +73,6 @@ return packer.startup(function(use) use({ "hrsh7th/cmp-path", commit = "91ff86cd9c29299a64f968ebb45846c485725f23" }) use({ "saadparwaiz1/cmp_luasnip", commit = "a9de941bcbda508d0a45d28ae366bb3f08db2e36" }) use({ "hrsh7th/cmp-nvim-lsp", commit = "affe808a5c56b71630f17aa7c38e15c59fd648a8" }) - use({ "hrsh7th/cmp-nvim-lua", commit = "d276254e7198ab7d00f117e88e223b4bd8c02d21" }) -- snippets use({ "L3MON4D3/LuaSnip", tag = "v1.*" })