aboutsummaryrefslogtreecommitdiff
path: root/plugins/autosave.lua
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2022-05-24 20:15:49 -0400
committerjgmdev <jgmdev@gmail.com>2022-05-24 20:15:49 -0400
commit799e33c6d3e3fd9b84693767bcc4a9c3d6e56ef6 (patch)
tree68815c8730f193b696b3153dc64e379d671e1890 /plugins/autosave.lua
parent5faa8d330663d7a3b5b5ada2dc036cf8b7a1749d (diff)
downloadlite-xl-plugins-799e33c6d3e3fd9b84693767bcc4a9c3d6e56ef6.tar.gz
lite-xl-plugins-799e33c6d3e3fd9b84693767bcc4a9c3d6e56ef6.zip
autosave: enable by default
Diffstat (limited to 'plugins/autosave.lua')
-rw-r--r--plugins/autosave.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/autosave.lua b/plugins/autosave.lua
index 9906e93..4501004 100644
--- a/plugins/autosave.lua
+++ b/plugins/autosave.lua
@@ -11,7 +11,7 @@ local looping = false
local on_text_change = Doc.on_text_change
config.plugins.autosave = common.merge({
- enabled = false,
+ enabled = true,
-- the approximate amount of time, in seconds, that it takes to trigger an autosave
timeout = 1,
-- The config specification used by the settings gui
@@ -22,7 +22,7 @@ config.plugins.autosave = common.merge({
description = "Enable or disable the auto save feature.",
path = "enabled",
type = "toggle",
- default = false
+ default = true
},
{
label = "Timeout",