From a3151030b139c0b27e3ecf046f0d9be42f82b87b Mon Sep 17 00:00:00 2001 From: Brahmajit Das Date: Thu, 4 Sep 2025 12:11:35 +0530 Subject: lua: plugins: completion: better luasnip config Signed-off-by: Brahmajit Das --- lua/plugins/completion.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lua/plugins/completion.lua') diff --git a/lua/plugins/completion.lua b/lua/plugins/completion.lua index 65f0923..89c6cb7 100644 --- a/lua/plugins/completion.lua +++ b/lua/plugins/completion.lua @@ -129,6 +129,14 @@ return { sources = cmp.config.sources({ { name = 'luasnip', option = { show_autosnippets = true } }, { name = 'nvim_lsp' }, + { + name = 'luasnip', + option = + { + use_show_condition = false, + show_autosnippets = true, + } + }, { name = 'nvim_lsp_signature_help' }, { name = 'path' }, { name = 'buffer' }, -- cgit v1.2.3