updated lsp with autocomplete

This commit is contained in:
venus
2026-03-10 16:34:31 -05:00
parent be84313c2c
commit 63bd661602
6 changed files with 46 additions and 17 deletions

View File

@@ -1,7 +1,25 @@
return {
{
"neovim/nvim-lspconfig",
dependencies = {
{ "mason-org/mason.nvim", config = true }, -- The "App Store"
{ "mason-org/mason-lspconfig.nvim", config = true }, -- The "Bridge"
},
}
},
{
'saghen/blink.cmp',
version = '*', -- Downloads pre-built binaries (fast!)
opts = {
keymap = {
preset = 'none',
['<CR>'] = { 'select_next', 'fallback' },
['<S-CR>'] = { 'select_prev', 'fallback' },
['<Tab>'] = { 'accept', 'fallback' },
['<C-space>'] = { 'show', 'show_documentation', 'hide_documentation' },
},
sources = {
default = { 'lsp', 'path', 'snippets', 'buffer' },
},
},
},
}