Skip to content

Commit

Permalink
whoops.
Browse files Browse the repository at this point in the history
  • Loading branch information
L3MON4D3 committed Oct 3, 2023
1 parent 9dcd9c8 commit 8c4332b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua/luasnip/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,6 @@ local function safe_choice_action(snip, ...)
if ok then
return res
else
log.warn()

-- not very elegant, but this way we don't have a near
-- re-implementation of unlink_current.
unlink_set_adjacent_as_current(snip, "Removing snippet `%s` due to error %s", snip.trigger, res)
Expand Down

0 comments on commit 8c4332b

Please sign in to comment.