plugins/auto-save: fix deprecation errors

This commit is contained in:
Austin Horstman 2024-10-15 12:49:05 -05:00
parent ca5ba6d5fe
commit bb86faf8cf
No known key found for this signature in database
2 changed files with 35 additions and 40 deletions

View file

@ -31,16 +31,6 @@
settings = {
enabled = true;
execution_message = {
enabled = true;
dim = 0.18;
cleaning_interval = 1250;
message.__raw = ''
function()
return ("AutoSave: saved at " .. vim.fn.strftime("%H:%M:%S"))
end
'';
};
trigger_events = {
immediate_save = [
"BufLeave"
@ -50,7 +40,7 @@
"InsertLeave"
"TextChanged"
];
cancel_defered_save = [ "InsertEnter" ];
cancel_deferred_save = [ "InsertEnter" ];
};
condition = null;
write_all_buffers = false;