mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-27 19:24:13 +00:00
fix(lockfile): ensure newline at EOF for lockfile
Text files should end with a newline. This also lets you manually edit the lockfile in vim without 'fixeol' creating a spurious change for the added newline. This change however will create a change in users' lockfiles adding a newline upon updating, but since the lockfile would be changing anyways to update lazy.nvim itself, this is likely acceptable.
This commit is contained in:
parent
f918318d21
commit
8f16e1fd0c
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ function M.update()
|
|||
f:write(",\n")
|
||||
end
|
||||
end
|
||||
f:write("\n}")
|
||||
f:write("\n}\n")
|
||||
f:close()
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue