Skip to content

Commit

Permalink
fix(config): allow overriding options set by presets
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Mar 12, 2023
1 parent 098330e commit 5a1bf17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/noice/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,14 @@ function M.setup(options)
popupmenu = {
kind_icons = require("noice.config.icons").kinds,
},
}, options)
})

M.truncate_log()

require("noice.config.preset").setup()

M.options = vim.tbl_deep_extend("force", M.options, options)

if M.options.popupmenu.kind_icons == false then
M.options.popupmenu.kind_icons = {}
end
Expand Down

0 comments on commit 5a1bf17

Please sign in to comment.