Skip to content

Commit e26fba0

Browse files
committed
fix(config): merge element mappings
See #216
1 parent b67df85 commit e26fba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/dapui/config/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ function dapui.config.update_render(update)
213213
end
214214

215215
function dapui.config.element_mapping(element)
216-
return user_config.element_mappings[element] or user_config.mappings
216+
return vim.tbl_extend("keep", user_config.element_mappings[element] or {}, user_config.mappings)
217217
end
218218

219219
setmetatable(dapui.config, {

0 commit comments

Comments
 (0)