updated lsp with autocomplete
This commit is contained in:
@@ -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' },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user