aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2022-01-04 18:06:30 +0100
committerFrancesco Abbate <francesco.bbt@gmail.com>2022-01-04 18:06:30 +0100
commitf3cf7ac9c7d60a9d23f031ab526d0a279c2fa410 (patch)
tree86d4aeb49a841d5fd8d2a380cb6b17918fba3cdc
parentbf578d5ee4485f79a40b2507fece8227c46fa730 (diff)
downloadlite-xl-f3cf7ac9c7d60a9d23f031ab526d0a279c2fa410.tar.gz
lite-xl-f3cf7ac9c7d60a9d23f031ab526d0a279c2fa410.zip
Do not reload core.keymap module
Avoid reloading the core.keymap module when user's config or project module change. The reason is the plugins like autocomplete can add keymaps and the additions from plugins would be lost. Close issue #793
-rw-r--r--data/core/init.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/data/core/init.lua b/data/core/init.lua
index 4074043e..b97ab2d6 100644
--- a/data/core/init.lua
+++ b/data/core/init.lua
@@ -82,7 +82,6 @@ end
local function reload_customizations()
core.reload_module("core.style")
- core.reload_module("core.keymap")
local plugins_save = {}
for k, v in pairs(config.plugins) do
plugins_save[k] = v