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,
|
||||
-- },
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user