Skip to content

Commit 73fc3f7

Browse files
Format with stylua
1 parent 8a97643 commit 73fc3f7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Examples/snippets.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,11 @@ ls.add_snippets("all", {
337337
t("will only expand at the end and the start of the line"),
338338
}, {
339339
-- last function is just an example how to make own function objects and apply operators on them
340-
condition = conds_expand.line_end + conds_expand.line_begin * conds.make_condition(function() return true end),
340+
condition = conds_expand.line_end
341+
+ conds_expand.line_begin
342+
* conds.make_condition(function()
343+
return true
344+
end),
341345
}),
342346
-- The last entry of args passed to the user-function is the surrounding snippet.
343347
s(

0 commit comments

Comments
 (0)