Skip to content

Commit d32bbd8

Browse files
committed
update
1 parent 45c95bd commit d32bbd8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/dired/init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,8 @@ end
633633
Browser.setup = function(state)
634634
return F.IO.fromEffect(function()
635635
local get_keys = function(action)
636-
return vim.tbl_get(vim.g.dired, 'keymaps', 'action')
636+
local keymaps = vim.tbl_get(vim.g.dired or {}, 'keymaps') or {}
637+
return keymaps[action]
637638
end
638639

639640
local keymaps = {

0 commit comments

Comments
 (0)