Skip to content

Commit

Permalink
Merge pull request #71 from mawkler/main
Browse files Browse the repository at this point in the history
fix: Use `tbl_deep_extend` when creating config instead of `tbl_extend`
  • Loading branch information
OXY2DEV authored Aug 5, 2024
2 parents 7049a68 + da2890d commit 9e5275f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/markview.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ end, {
markview.setup = function (user_config)
---@type markview.config
-- Merged configuration tables
markview.configuration = vim.tbl_extend("keep", user_config or {}, markview.configuration);
markview.configuration = vim.tbl_deep_extend("keep", user_config or {}, markview.configuration);

if vim.islist(markview.configuration.highlight_groups) then
markview.add_hls(markview.configuration.highlight_groups);
Expand Down

0 comments on commit 9e5275f

Please sign in to comment.