From 53e0992676ef4c746b84a18e944ec84716f03638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Flo=C3=9Fmann?= Date: Mon, 15 Sep 2025 10:44:59 +0200 Subject: [PATCH] customize luasnip --- lua/plugins/user.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/plugins/user.lua b/lua/plugins/user.lua index 55878f3..3133d19 100644 --- a/lua/plugins/user.lua +++ b/lua/plugins/user.lua @@ -72,6 +72,14 @@ return { if ls.choice_active() then ls.change_choice(1) end end, }, + { + "", + function() + local ls = require "luasnip" + if ls.expand_or_jumpable() then ls.expand_or_jump() end + end, + mode = { "i" }, + }, }, config = function(plugin, opts) require "astronvim.plugins.configs.luasnip"(plugin, opts) -- include the default astronvim config that calls the setup call