feature: Add logger for debugging (#18)

This commit is contained in:
Toni Müller
2023-04-25 11:33:25 +03:00
committed by GitHub
parent 55e8731d53
commit 42d1342b9e
4 changed files with 58 additions and 10 deletions
+2 -3
View File
@@ -22,11 +22,10 @@ Config = {
write_all_buffers = false, -- write all buffers when the current one meets `condition`
debounce_delay = 1000, -- delay after which a pending save is executed
callbacks = { -- functions to be executed at different intervals
enabling = nil, -- ran when enabling auto-save
disabling = nil, -- ran when disabling auto-save
before_saving = nil, -- ran before doing the actual save
after_saving = nil, -- ran after doing the actual save
},
-- log debug messages to 'auto-save.log' file in neovim cache directory, set to `true` to enable
debug = false, -- print debug messages, set to `true` to enable
},
}