fixed blink cmp colors (by setting them to cmp colors)
This commit is contained in:
@@ -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,
|
||||
-- },
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
@@ -4,21 +4,22 @@ vim.pack.add({
|
||||
})
|
||||
|
||||
require("catppuccin").setup({
|
||||
flavour = "mocha",
|
||||
transparent_background = true, -- disables setting the background color.
|
||||
float = {
|
||||
transparent = true, -- enable transparent floating windows
|
||||
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,
|
||||
integrations = {
|
||||
cmp = true,
|
||||
blink_cmp = {
|
||||
style = "bordered",
|
||||
},
|
||||
},
|
||||
show_end_of_buffer = true, -- shows the '~' characters after the end of buffers
|
||||
term_colors = true,
|
||||
})
|
||||
|
||||
require("vimade").setup({
|
||||
recipe = { "minimalist", { animate = true } },
|
||||
fadelevel = 0.6,
|
||||
|
||||
Reference in New Issue
Block a user