fix(blink): updated to config to reflect breaking changes

This commit is contained in:
Folke Lemaitre
2024-11-28 07:38:49 +01:00
parent 76fbed6de5
commit efcba66a22
2 changed files with 6 additions and 3 deletions

View File

@ -64,8 +64,10 @@ return {
{ {
"saghen/blink.cmp", "saghen/blink.cmp",
optional = true, optional = true,
---@module 'blink.cmp'
---@type blink.cmp.Config
opts = { opts = {
windows = { ghost_text = { enabled = false } }, completion = { ghost_text = { enabled = false } },
}, },
dependencies = { dependencies = {
{ {

View File

@ -42,12 +42,13 @@ return {
-- set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font' -- set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
-- adjusts spacing to ensure icons are aligned -- adjusts spacing to ensure icons are aligned
nerd_font_variant = "mono", nerd_font_variant = "mono",
windows = { completion = {
autocomplete = { menu = {
winblend = vim.o.pumblend, winblend = vim.o.pumblend,
}, },
documentation = { documentation = {
auto_show = true, auto_show = true,
auto_show_delay_ms = 200,
}, },
ghost_text = { ghost_text = {
enabled = vim.g.ai_cmp, enabled = vim.g.ai_cmp,