fix: ASToggle command

This commit is contained in:
Pocco81
2022-07-31 00:49:15 -05:00
parent 0288839edd
commit 6ebf09ac62
3 changed files with 4 additions and 2 deletions

View File

@@ -137,8 +137,10 @@ end
function M.toggle()
if autosave_running then
M.off()
echo("off")
else
M.on()
echo("on")
end
end

View File

@@ -20,6 +20,6 @@ return function(msg, kind)
title = TITLE,
})
else
vim.notify(("%s (%s): %s"):format(TITLE, level.type, msg), level.log)
vim.notify(("%s: %s"):format(TITLE, msg), level.log)
end
end