mirror of
https://github.com/zoriya/auto-save.nvim.git
synced 2026-08-15 10:23:24 +00:00
added conditions
This commit is contained in:
@@ -4,10 +4,13 @@ config.options = {
|
||||
enabled = true,
|
||||
execution_message = "AutoSave: saved at " .. vim.fn.strftime("%H:%M:%S"),
|
||||
events = {"InsertLeave", "TextChanged"},
|
||||
conditions = {
|
||||
exists = true,
|
||||
filetype_is_not = {},
|
||||
modifiable = true,
|
||||
},
|
||||
write_all_buffers = false,
|
||||
on_off_commands = false,
|
||||
save_only_if_exists = true,
|
||||
excluded_filetypes = {},
|
||||
clean_command_line_interval = 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user