From 6497fbdcdac476957eff7a79ef860900ff4b72f2 Mon Sep 17 00:00:00 2001 From: Marcelo Date: Sun, 30 Mar 2025 04:26:45 -0300 Subject: Completion configurations: show/hide docs binding, increase plugin version. Also trigger completion with at lease 2 characters. --- lua/config/plugins/completion.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/config/plugins/completion.lua b/lua/config/plugins/completion.lua index 722891a..f8cc602 100644 --- a/lua/config/plugins/completion.lua +++ b/lua/config/plugins/completion.lua @@ -3,10 +3,14 @@ return { "saghen/blink.cmp", dependencies = "rafamadriz/friendly-snippets", - version = "v0.10.0", + version = "v0.13.1", opts = { - keymap = { preset = 'default' }, + keymap = { + preset = "default", + -- The default `` is my tmux prefix. + [""] = { "show", "show_documentation", "hide_documentation" }, + }, appearance = { use_nvim_cmp_as_default = true, @@ -14,6 +18,7 @@ return { }, sources = { + min_keyword_length = 2, default = { "lsp", "path", "snippets", "buffer" }, }, -- cgit v1.2.3