From 0a076ae9f86998a9c03a789926a9c6bb8022e5c3 Mon Sep 17 00:00:00 2001 From: Robert Morrison Date: Sun, 21 Dec 2025 20:34:45 +0000 Subject: [PATCH] feat(completion): Add binding to force completion Add a binding for `` to force completion. This allows for completions to be started at the start of a line or where there isn't any context to complete from This is useful when you want to browse the possible completions without knowing what you're looking for --- lua/plugins/spec/completion.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/plugins/spec/completion.lua b/lua/plugins/spec/completion.lua index 9c6cfee..db298ba 100644 --- a/lua/plugins/spec/completion.lua +++ b/lua/plugins/spec/completion.lua @@ -92,6 +92,9 @@ return { select = false, }), }), + [""] = cmp.mapping(function(fallback) + cmp.complete() + end), }, sources = cmp.config.sources({ { name = "lazydev" },