From 83020274e06747cbcb98e5c7f05e9c4f73bb99d9 Mon Sep 17 00:00:00 2001 From: abs3nt Date: Thu, 2 Mar 2023 16:14:50 -0800 Subject: [PATCH] updates --- lua/plugins.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index cfd328a..bac2138 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -179,7 +179,6 @@ return { { "L3MON4D3/LuaSnip" }, { "saadparwaiz1/cmp_luasnip" }, { "rafamadriz/friendly-snippets" }, - { "f3fora/cmp-spell", { "hrsh7th/cmp-calc" }, { "hrsh7th/cmp-emoji" } }, }, config = function() require('luasnip.loaders.from_vscode').lazy_load() @@ -200,13 +199,13 @@ return { [''] = cmp.mapping.scroll_docs(4), [''] = cmp.mapping.complete(), [''] = cmp.mapping.abort(), - [''] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. + [''] = cmp.mapping.confirm({ select = false }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. }), sources = cmp.config.sources({ { name = 'nvim_lsp' }, + { name = 'nvim_lua' }, + { name = 'path' }, { name = 'luasnip' }, - }, { - { name = 'buffer' }, }) })