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

@@ -10,7 +10,7 @@ require("config.autocmd")
require("config.binds") require("config.binds")
-- Colorcheme -- Colorcheme
vim.cmd.colorscheme("catppuccin") vim.cmd.colorscheme("catppuccin-nvim")
-- Line numbers -- Line numbers
vim.opt.cursorline = true vim.opt.cursorline = true

View File

@@ -57,9 +57,15 @@ vim.lsp.enable({
vim.o.winborder = "rounded" vim.o.winborder = "rounded"
vim.api.nvim_set_hl(0, "BlinkCmpMenuBorder", { fg = "#89b4fa" })
require("blink.cmp").build():pwait() require("blink.cmp").build():pwait()
require("blink.cmp").setup({ require("blink.cmp").setup({
fuzzy = { implementation = "rust" },
appearance = { use_nvim_cmp_as_default = true },
keymap = { preset = "default" },
signature = { signature = {
enabled = false, enabled = false,
@@ -86,10 +92,6 @@ require("blink.cmp").setup({
}, },
}, },
-- Keymaps
keymap = {
["<Tab>"] = { "select_next", "snippet_forward", "fallback" },
},
sources = { sources = {
default = { default = {
"lsp", -- (Equivalent to cmp-nvim-lsp) "lsp", -- (Equivalent to cmp-nvim-lsp)
@@ -97,14 +99,6 @@ require("blink.cmp").setup({
"buffer", -- (Equivalent to cmp-buffer) "buffer", -- (Equivalent to cmp-buffer)
"path", -- (Equivalent to cmp-path) "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,
-- },
},
}, },
}) })

View File

@@ -4,21 +4,22 @@ vim.pack.add({
}) })
require("catppuccin").setup({ require("catppuccin").setup({
flavour = "mocha",
transparent_background = true, -- disables setting the background color. transparent_background = true, -- disables setting the background color.
float = { float = {
transparent = true, -- enable transparent floating windows transparent = true, -- enable transparent floating windows
solid = true, -- use solid styling for floating windows, see |winborder| solid = true, -- use solid styling for floating windows, see |winborder|
}, },
show_end_of_buffer = true, -- shows the '~' characters after the end of buffers
term_colors = false,
auto_integrations = true, auto_integrations = true,
integrations = { integrations = {
cmp = true,
blink_cmp = { blink_cmp = {
style = "bordered", style = "bordered",
}, },
}, },
show_end_of_buffer = true, -- shows the '~' characters after the end of buffers
term_colors = true,
}) })
require("vimade").setup({ require("vimade").setup({
recipe = { "minimalist", { animate = true } }, recipe = { "minimalist", { animate = true } },
fadelevel = 0.6, fadelevel = 0.6,