ci: format
This commit is contained in:
parent
9af6086959
commit
d06731a7fd
2 changed files with 47 additions and 11 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue