syntax fix

This commit is contained in:
Ralph 2024-04-05 00:02:59 -07:00
parent 89d4038d57
commit d693496fe9
2 changed files with 2 additions and 3 deletions

View file

@ -9,8 +9,8 @@ end
vim.api.nvim_create_autocmd("VimEnter", {
group = augroup("autoupdate"),
callback = function()
if require("lazy.status").has_updates then
require("lazy").update({ show = true })
if require("lazy.status").has_updates() then
require("lazy").update({ show = true, })
end
end,
})

View file

@ -1,7 +1,6 @@
-- Options are automatically loaded before lazy.nvim startup
-- Add any additional options here
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
local g, opt = vim.g, vim.opt
g.autoformat = false -- disable LazyVim autoformat on save