From 949b09162fc2ead855e78da44db6d2ff6d1fdf08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1chym?= Date: Tue, 4 Mar 2025 17:33:07 +0100 Subject: [PATCH] enabled blink-cmp documentation --- .gitignore | 1 + lua/plugins/blink-cmp.lua | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e033bc6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +lazy-lock.json diff --git a/lua/plugins/blink-cmp.lua b/lua/plugins/blink-cmp.lua index 68124d8..970938e 100644 --- a/lua/plugins/blink-cmp.lua +++ b/lua/plugins/blink-cmp.lua @@ -6,15 +6,22 @@ return { ---@module 'blink.cmp' ---@type blink.cmp.Config opts = { - keymap = { preset = "enter" }, + keymap = { + preset = "enter", + }, appearance = { use_nvim_cmp_as_default = false, nerd_font_variant = "mono", }, + completion = { + documentation = { + auto_show = true, + auto_show_delay_ms = 500, + }, + }, sources = { default = { "lsp", "path", "snippets", "buffer" }, }, - fuzzy = { implementation = "prefer_rust_with_warning" }, }, opts_extend = { "sources.default" }, }