.
This commit is contained in:
parent
16c7b23408
commit
12cf227133
12 changed files with 122 additions and 29 deletions
27
files/.config/nvim/lua/plugins/lsp.lua
Normal file
27
files/.config/nvim/lua/plugins/lsp.lua
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
return {
|
||||
{
|
||||
'neovim/nvim-lspconfig',
|
||||
event = { "BufReadPost", "BufNewFile" },
|
||||
cmd = { "LspInfo", "LspInstall", "LspUninstall" },
|
||||
},
|
||||
|
||||
{
|
||||
'saghen/blink.cmp',
|
||||
dependencies = { 'rafamadriz/friendly-snippets' },
|
||||
version = '1.*',
|
||||
opts = {
|
||||
keymap = {
|
||||
preset = 'super-tab',
|
||||
['<C-u>'] = { 'scroll_signature_up', 'fallback' },
|
||||
['<C-d>'] = { 'scroll_signature_down', 'fallback' },
|
||||
},
|
||||
completion = {
|
||||
documentation = {
|
||||
auto_show = true,
|
||||
auto_show_delay_ms = 50,
|
||||
}
|
||||
},
|
||||
signature = { enabled = true }
|
||||
},
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue