add luasnip snippets

This commit is contained in:
2024-10-14 17:04:25 +03:00
parent b1a0742ffa
commit 7dcd4ec2f7
4 changed files with 87 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
return {
'neovim/nvim-lspconfig',
tag = "v1.0.0",
dependencies = {
'williamboman/mason.nvim',
'williamboman/mason-lspconfig.nvim',
@@ -62,7 +63,7 @@ return {
['<CR>'] = cmp.mapping({
i = function(fallback)
if cmp.visible() and cmp.get_active_entry() then
cmp.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = false })
cmp.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true })
else
fallback()
end