Skip to content

Commit

Permalink
Format with stylua
Browse files Browse the repository at this point in the history
  • Loading branch information
atticus-sullivan authored and github-actions[bot] committed Oct 1, 2022
1 parent b7e4bf2 commit 9e5af54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/luasnip/extras/expand_conditions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ local condition_mt = {
end,
}
function M.condition_factory(func)
return setmetatable({func=func}, condition_mt)
return setmetatable({ func = func }, condition_mt)
end

-----------------------
Expand All @@ -57,6 +57,6 @@ local function line_end(line_to_cursor)
local line = vim.api.nvim_get_current_line()
return #line_to_cursor == #line
end
M.line_end = M.condition_factory(line_end)
M.line_end = M.condition_factory(line_end)

return M

0 comments on commit 9e5af54

Please sign in to comment.