refactor: separate auto-save configuration from utilities
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Auto-Save │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
|
||||
return {
|
||||
{ -- Auto-save
|
||||
"okuuva/auto-save.nvim",
|
||||
cmd = require("data.cmd").autosave,
|
||||
event = { "InsertLeave", "TextChanged" },
|
||||
opts = require("data.types").autosave,
|
||||
cond = require("data.cond").autosave,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user