Adds configuration and packages for lsp

This commit is contained in:
Dennis Schoepf 2025-04-10 00:13:52 +02:00
parent e80172efaf
commit 89eab258b0
9 changed files with 224 additions and 4 deletions

View file

@ -5,13 +5,24 @@ return {
---@module 'blink.cmp'
---@type blink.cmp.Config
opts = {
keymap = { preset = "super-tab" }, -- 'default' | 'super-tab' | 'enter'
keymap = { preset = "enter" }, -- 'default' | 'super-tab' | 'enter'
appearance = {
nerd_font_variant = "mono",
},
-- (Default) Only show the documentation popup when manually triggered
-- C-k: Toggle signature help (if signature.enabled = true)
completion = { documentation = { auto_show = false } },
completion = {
documentation = { auto_show = false },
list = {
selection = {
preselect = false,
auto_insert = true,
}
}
},
signature = {
enabled = true
},
sources = {
default = { "lsp", "path", "snippets", "buffer" },
per_filetype = { sql = { "dadbod" } },