diff --git a/lua/oil/config.lua b/lua/oil/config.lua index 5c63c8e..d551217 100644 --- a/lua/oil/config.lua +++ b/lua/oil/config.lua @@ -80,7 +80,7 @@ local M = {} M.setup = function(opts) local new_conf = vim.tbl_deep_extend("keep", opts or {}, default_config) if not new_conf.use_default_keymaps then - new_conf.keymaps = opts.keymaps + new_conf.keymaps = opts.keymaps or {} end for k, v in pairs(new_conf) do