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 b7e4bf2 commit 9e5af54Copy full SHA for 9e5af54
lua/luasnip/extras/expand_conditions.lua
@@ -41,7 +41,7 @@ local condition_mt = {
41
end,
42
}
43
function M.condition_factory(func)
44
- return setmetatable({func=func}, condition_mt)
+ return setmetatable({ func = func }, condition_mt)
45
end
46
47
-----------------------
@@ -57,6 +57,6 @@ local function line_end(line_to_cursor)
57
local line = vim.api.nvim_get_current_line()
58
return #line_to_cursor == #line
59
60
-M.line_end = M.condition_factory(line_end)
+M.line_end = M.condition_factory(line_end)
61
62
return M
0 commit comments