Skip to content

Commit

Permalink
fix(config): merge element mappings
Browse files Browse the repository at this point in the history
See #216
  • Loading branch information
rcarriga committed Jan 28, 2023
1 parent b67df85 commit e26fba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dapui/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function dapui.config.update_render(update)
end

function dapui.config.element_mapping(element)
return user_config.element_mappings[element] or user_config.mappings
return vim.tbl_extend("keep", user_config.element_mappings[element] or {}, user_config.mappings)
end

setmetatable(dapui.config, {
Expand Down

0 comments on commit e26fba0

Please sign in to comment.