feat(nvim): auto-complete with tab
This commit is contained in:
parent
9d43b837ff
commit
6f46dcbb2c
1 changed files with 7 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue