mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-12-23 23:59:36 +01:00
10 lines
348 B
Lua
10 lines
348 B
Lua
require('autosave').setup({
|
|
enabled = vim.g.auto_save,
|
|
-- execution_message = 'autosaved at : ' .. vim.fn.strftime('%H:%M:%S'),
|
|
-- events = {'InsertLeave', 'TextChanged'},
|
|
-- conditions = {exists = true, filetype_is_not = {}, modifiable = true},
|
|
write_all_buffers = true,
|
|
on_off_commands = true,
|
|
clean_command_line_interval = 2500
|
|
})
|