Adds configuration and packages for lsp
This commit is contained in:
parent
e80172efaf
commit
89eab258b0
9 changed files with 224 additions and 4 deletions
|
|
@ -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" } },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue