nvim: blink-cmp changes

This commit is contained in:
Daniel Lundin 2025-01-09 14:52:31 +01:00
parent 3ec86e59ba
commit c68bdd3818
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI

View file

@ -1,6 +1,7 @@
require 'blink-cmp'.setup({ require 'blink-cmp'.setup({
keymap = { keymap = {
preset = 'enter', preset = 'enter',
-- preset = 'super-tab',
["<PageDown>"] = { "scroll_documentation_down" }, ["<PageDown>"] = { "scroll_documentation_down" },
["<PageUp>"] = { "scroll_documentation_up" }, ["<PageUp>"] = { "scroll_documentation_up" },
}, },
@ -18,11 +19,11 @@ require 'blink-cmp'.setup({
ghost_text = { enabled = true }, ghost_text = { enabled = true },
list = { list = {
selection = "manual", selection = { preselect = false, auto_insert = false },
}, },
menu = { menu = {
auto_show = true, auto_show = false,
}, },
}, },
@ -32,10 +33,6 @@ require 'blink-cmp'.setup({
}, },
}, },
keymap = {
preset = 'super-tab',
},
signature = { signature = {
enabled = true, enabled = true,
window = { border = 'rounded', }, window = { border = 'rounded', },