Skip to content

Commit

Permalink
update: try to find new active node in child-snippet.
Browse files Browse the repository at this point in the history
  • Loading branch information
L3MON4D3 committed Oct 30, 2024
1 parent deb276c commit bd45757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/luasnip/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bd45757

Please sign in to comment.