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' }, }) })