From bd45757fe2957c6e54769c5e1fa221de2413fa19 Mon Sep 17 00:00:00 2001 From: L3MON4D3 Date: Wed, 30 Oct 2024 15:55:50 +0100 Subject: [PATCH] update: try to find new active node in child-snippet. --- lua/luasnip/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/luasnip/init.lua b/lua/luasnip/init.lua index ecfcf065c..e7bf55530 100644 --- a/lua/luasnip/init.lua +++ b/lua/luasnip/init.lua @@ -170,7 +170,7 @@ local function get_corresponding_node(parent, data) return parent:find_node(function(test_node) return (test_node.store_id == data.store_id) or (data.key ~= nil and test_node.key == data.key) - end) + end, {find_in_child_snippets = true}) end local function restore_cursor_pos_relative(node, data)