mirror of
https://github.com/zoriya/auto-save.nvim.git
synced 2026-08-16 02:44:35 +00:00
added 'clean_command_line_interval' option
This commit is contained in:
@@ -64,7 +64,12 @@ function M.save()
|
||||
|
||||
if (opts["execution_message"] ~= "" and get_modified() == true) then
|
||||
print(opts["execution_message"])
|
||||
set_modified(false)
|
||||
end
|
||||
|
||||
if (opts["clean_command_line_interval"] > 0) then
|
||||
cmd([[sleep ]] .. opts["clean_command_line_interval"] .. [[ | echon '']])
|
||||
end
|
||||
end
|
||||
|
||||
local function parse_events()
|
||||
|
||||
Reference in New Issue
Block a user