We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 709403c commit 621f8baCopy full SHA for 621f8ba
lua/oil/config.lua
@@ -359,7 +359,7 @@ M.setup = function(opts)
359
local new_conf = vim.tbl_deep_extend("keep", opts, default_config)
360
if not new_conf.use_default_keymaps then
361
new_conf.keymaps = opts.keymaps or {}
362
- else
+ elseif opts.keymaps then
363
-- We don't want to deep merge the keymaps, we want any keymap defined by the user to override
364
-- everything about the default.
365
for k, v in pairs(opts.keymaps) do
0 commit comments