We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a97643 commit 73fc3f7Copy full SHA for 73fc3f7
Examples/snippets.lua
@@ -337,7 +337,11 @@ ls.add_snippets("all", {
337
t("will only expand at the end and the start of the line"),
338
}, {
339
-- 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),
+ condition = conds_expand.line_end
341
+ + conds_expand.line_begin
342
+ * conds.make_condition(function()
343
+ return true
344
+ end),
345
}),
346
-- The last entry of args passed to the user-function is the surrounding snippet.
347
s(
0 commit comments