feat: allow to disable execution_message

Squashed changes from https://github.com/Pocco81/auto-save.nvim/pull/50
Got too hairy for a GH noob like me to fix properly.
This commit is contained in:
Jakub Łuczyński
2023-02-12 18:18:09 +02:00
committed by Oula Kuuva
parent 492bab0c47
commit 4db41a2155
3 changed files with 17 additions and 16 deletions
+1
View File
@@ -2,6 +2,7 @@ Config = {
opts = {
enabled = true, -- start auto-save when the plugin is loaded (i.e. when your package manager loads it)
execution_message = {
enabled = true,
message = function() -- message to print on save
return ("AutoSave: saved at " .. vim.fn.strftime("%H:%M:%S"))
end,