fixed blink cmp colors (by setting them to cmp colors)

This commit is contained in:
2026-08-05 16:56:39 +01:00
parent 5deeaf552f
commit 26d0d3fcf4
3 changed files with 11 additions and 16 deletions

View File

@@ -57,9 +57,15 @@ vim.lsp.enable({
vim.o.winborder = "rounded"
vim.api.nvim_set_hl(0, "BlinkCmpMenuBorder", { fg = "#89b4fa" })
require("blink.cmp").build():pwait()
require("blink.cmp").setup({
fuzzy = { implementation = "rust" },
appearance = { use_nvim_cmp_as_default = true },
keymap = { preset = "default" },
signature = {
enabled = false,
@@ -86,10 +92,6 @@ require("blink.cmp").setup({
},
},
-- Keymaps
keymap = {
["<Tab>"] = { "select_next", "snippet_forward", "fallback" },
},
sources = {
default = {
"lsp", -- (Equivalent to cmp-nvim-lsp)
@@ -97,14 +99,6 @@ require("blink.cmp").setup({
"buffer", -- (Equivalent to cmp-buffer)
"path", -- (Equivalent to cmp-path)
},
providers = {
-- lazydev = {
-- name = "LazyDev",
-- module = "lazydev.integrations.blink",
-- -- make lazydev completions top priority (see `:h blink.cmp`)
-- score_offset = 100,
-- },
},
},
})