BREAKING CHANGES: plugin rewrite

This commit is contained in:
Pocco81
2022-07-31 00:27:43 -05:00
parent 8df684bcb3
commit 0288839edd
18 changed files with 430 additions and 807 deletions
+15
View File
@@ -0,0 +1,15 @@
if vim.g.loaded_auto_save then
return
end
vim.g.loaded_auto_save = true
local command = vim.api.nvim_create_user_command
local cnf = require("auto-save.config").options
command("AToggle", function()
require("auto-save").toggle()
end, {})
if cnf.enabled then
require("auto-save").on()
end