aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2022-05-24 19:52:23 -0400
committerjgmdev <jgmdev@gmail.com>2022-05-24 19:52:23 -0400
commitf7242be530b3ebdfa0a92dea98d9bc5e6efbc087 (patch)
treed2ee345fbfca3d28471425f1265701c56a76267d
parent35e947d1933613bb0b5a1488bf0fa4587f98ef7d (diff)
downloadlite-xl-plugins-f7242be530b3ebdfa0a92dea98d9bc5e6efbc087.tar.gz
lite-xl-plugins-f7242be530b3ebdfa0a92dea98d9bc5e6efbc087.zip
settings: do not save at exit to prevent config conflicts with other lite-xl instances
-rw-r--r--plugins/settings.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/settings.lua b/plugins/settings.lua
index 9ae29b2..7846d2e 100644
--- a/plugins/settings.lua
+++ b/plugins/settings.lua
@@ -1395,7 +1395,7 @@ function Settings:update()
end
--------------------------------------------------------------------------------
--- overwrite core run to inject previously saved settings and save at exit
+-- overwrite core run to inject previously saved settings
--------------------------------------------------------------------------------
local core_run = core.run
function core.run()
@@ -1429,9 +1429,6 @@ function core.run()
end
core_run()
-
- -- save on a normal exit
- save_settings()
end
--------------------------------------------------------------------------------