Skip to content

Commit

Permalink
fix(config): properly deal with preset routes. Fixes #517
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 24, 2023
1 parent 7d01b45 commit fea7f1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/noice/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ function M.setup(options)

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

local routes = M.options.routes
M.options = vim.tbl_deep_extend("force", M.options, options)
vim.list_extend(M.options.routes, routes)

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

0 comments on commit fea7f1c

Please sign in to comment.