ci: format

This commit is contained in:
Barrett Ruth 2026-03-08 13:24:44 -04:00
parent 9af6086959
commit d06731a7fd
2 changed files with 47 additions and 11 deletions

View file

@ -272,8 +272,12 @@ function M._setup_autocmds(bufnr)
group = group,
callback = function()
local bnr = buffer.bufnr()
log.debug(('VimLeavePre: bufnr=%s valid=%s'):format(
tostring(bnr), tostring(bnr and vim.api.nvim_buf_is_valid(bnr))))
log.debug(
('VimLeavePre: bufnr=%s valid=%s'):format(
tostring(bnr),
tostring(bnr and vim.api.nvim_buf_is_valid(bnr))
)
)
if bnr and vim.api.nvim_buf_is_valid(bnr) then
buffer.persist_folds()
get_store():save()