add many plugins

This commit is contained in:
Guðmundur Bjarki Sigurðsson 2024-03-29 03:07:42 +00:00
parent e4260c415e
commit 7b821a02d3
11 changed files with 156 additions and 8 deletions

View file

@ -33,6 +33,12 @@ return { -- Autocompletion
-- into multiple repos for maintenance purposes.
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-path',
{
'Exafunction/codeium.nvim',
cmd = 'Codeium',
build = ':Codeium Auth',
opts = {},
},
},
config = function()
-- See `:help cmp`
@ -65,7 +71,8 @@ return { -- Autocompletion
-- Accept ([y]es) the completion.
-- This will auto-import if your LSP supports it.
-- This will expand snippets if the LSP sent a snippet.
['<C-y>'] = cmp.mapping.confirm { select = true },
['<CR>'] = cmp.mapping.confirm { select = true }, -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
-- Manually trigger a completion from nvim-cmp.
-- Generally you don't need this, because nvim-cmp will display
@ -98,6 +105,7 @@ return { -- Autocompletion
{ name = 'nvim_lsp' },
{ name = 'luasnip' },
{ name = 'path' },
{ name = 'codeium' },
},
}
end,