From 57f067e6b4d9f4bed042ba475ddaf772ac9506d8 Mon Sep 17 00:00:00 2001 From: "Radu C. Martin" Date: Thu, 27 Feb 2025 09:06:26 +0100 Subject: [PATCH] feat(blink): enable docs and ghost_text --- lua/plugins/cmp.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index b7729f0..d20621a 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -4,7 +4,7 @@ return { dependencies = 'rafamadriz/friendly-snippets', -- use a release tag to download pre-built binaries - version = 'v0.*', + version = '*', ---@module 'blink.cmp' ---@type blink.cmp.Config @@ -26,6 +26,11 @@ return { nerd_font_variant = 'mono', }, + completion = { + documentation = { auto_show = true, auto_show_delay_ms = 500 }, + ghost_text = { enabled = true }, + }, + -- default list of enabled providers defined so that you can extend it -- elsewhere in your config, without redefining it, via `opts_extend` sources = {