summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <listout@listout.xyz>2025-09-04 12:11:35 +0530
committerBrahmajit Das <listout@listout.xyz>2025-09-04 12:11:35 +0530
commita3151030b139c0b27e3ecf046f0d9be42f82b87b (patch)
tree0597c4a36d74e57fb5667094e78719a2996c4e5f
parent43a792eda503f0d60fd887ab10b434568ff27074 (diff)
lua: plugins: completion: better luasnip config
Signed-off-by: Brahmajit Das <listout@listout.xyz>
-rw-r--r--lua/plugins/completion.lua8
1 files changed, 8 insertions, 0 deletions
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' },