From f04183de70d3ca162fd76cbecf4ac68b7c1ec8fa Mon Sep 17 00:00:00 2001 From: L3MON4D3 Date: Wed, 17 Jan 2024 16:33:58 +0000 Subject: [PATCH] Format with stylua --- lua/luasnip/nodes/util.lua | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lua/luasnip/nodes/util.lua b/lua/luasnip/nodes/util.lua index be6bd8f56..6c9f49ad9 100644 --- a/lua/luasnip/nodes/util.lua +++ b/lua/luasnip/nodes/util.lua @@ -519,8 +519,11 @@ local function refocus(from, to) -- here. -- snippet does not have input_leave_children, so only input_leave -- needs to be called. - ok2 = - pcall(from.parent.snippet.input_leave, from.parent.snippet, true) + ok2 = pcall( + from.parent.snippet.input_leave, + from.parent.snippet, + true + ) end if not ok1 or not ok2 then from.parent.snippet:remove_from_jumplist() @@ -536,8 +539,11 @@ local function refocus(from, to) ok3 = true else ok2 = pcall(leave_nodes_between, node.parent.snippet, node, true) - ok3 = - pcall(node.parent.snippet.input_leave, node.parent.snippet, true) + ok3 = pcall( + node.parent.snippet.input_leave, + node.parent.snippet, + true + ) end if not ok1 or not ok2 or not ok3 then