This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Description
Reloading cached modules does not adjust the keymappings, ie
add_cmd('CRel', function()
local lua_dirs = vim.fn.glob("./lua/*", 0, 1)
for _, dir in ipairs(lua_dirs) do
dir = string.gsub(dir, "./lua/", "")
require("plenary.reload").reload_module(dir)
end
-- TODO keybindings are not reloaded
end, {})
does not work as expected. It would be nice to mention this and ideally explain what to use as workaround (for now).