using blink for autocomplete

This commit is contained in:
2025-12-12 21:09:58 +01:00
parent d884ee93f1
commit b4d2b49f7d
2 changed files with 19 additions and 6 deletions

View File

@@ -14,7 +14,24 @@ return {
},
-- test new blink
-- { import = "nvchad.blink.lazyspec" },
{
import = "nvchad.blink.lazyspec",
},
{
"saghen/blink.cmp",
opts = {
completion = {
list = {
selection = { preselect = false, auto_insert = false },
},
},
keymap = {
["<CR>"] = { "fallback" }, -- Enter only inserts newline, doesn't accept
["<Tab>"] = { "select_and_accept", "snippet_forward", "fallback" }, -- Tab accepts
},
},
},
{
"nvim-treesitter/nvim-treesitter",