style: formatting

This commit is contained in:
Folke Lemaitre 2024-03-07 12:00:44 +01:00
parent d57817d79b
commit 41e60af52c
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -8,10 +8,10 @@ end
vim.api.nvim_create_autocmd({ "FocusGained", "TermClose", "TermLeave" }, { vim.api.nvim_create_autocmd({ "FocusGained", "TermClose", "TermLeave" }, {
group = augroup("checktime"), group = augroup("checktime"),
callback = function() callback = function()
if vim.o.buftype ~= 'nofile' then if vim.o.buftype ~= "nofile" then
vim.cmd('checktime') vim.cmd("checktime")
end end
end end,
}) })
-- Highlight on yank -- Highlight on yank