Force saving

This commit is contained in:
Chris
2026-05-14 16:30:06 +01:00
parent 1768a69cf1
commit 5dd9b59b90
+2 -2
View File
@@ -21,10 +21,10 @@ vim.api.nvim_create_autocmd('FocusLost', {
nested = true, -- Allow other autocommands to run after this one nested = true, -- Allow other autocommands to run after this one
}) })
vim.api.nvim_create_autocmd('InsertLeave', { vim.api.nvim_create_autocmd('BufLeave', {
group = autosave_group, group = autosave_group,
pattern = '*', pattern = '*',
command = 'silent! wa', -- Save all files when leaving insert mode command = 'silent! wa', -- Save all files when switching buffers
nested = true, -- Allow other autocommands to run after this one nested = true, -- Allow other autocommands to run after this one
}) })