Fix auto-save plugin init
This commit is contained in:
parent
38b3000be6
commit
ef5f1dfc5f
1 changed files with 7 additions and 0 deletions
|
@ -8,6 +8,13 @@ return {
|
|||
},
|
||||
{
|
||||
"pocco81/auto-save.nvim",
|
||||
event = { "InsertLeave", "TextChanged" },
|
||||
config = function()
|
||||
require("auto-save").setup({
|
||||
enabled = true,
|
||||
trigger_events = { "InsertLeave", "TextChanged" },
|
||||
})
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>as", "<cmd>ASToggle<cr>", desc = "Toggle Auto Save" },
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue