feat(nvim): auto-complete with tab

This commit is contained in:
Michael Mandl 2025-06-18 16:07:57 +02:00
parent 9d43b837ff
commit 6f46dcbb2c
Signed by: mandlm
GPG key ID: 088ED38F036C7AF2

View file

@ -8,9 +8,15 @@ require("blink-cmp").setup({
completion = {
documentation = { auto_show = true, auto_show_delay_ms = 500 },
ghost_text = { enabled = true },
list = {
selection = { preselect = false, auto_insert = true },
},
},
keymap = {
preset = "default"
preset = "default",
["<Tab>"] = { "select_next", "fallback" },
["<S-Tab>"] = { "select_prev", "fallback" },
["<CR>"] = { "accept", "fallback" },
},
signature = { enabled = true },
sources = {