refactor(nvim): improve styling of noice cmdline

This commit is contained in:
Price Hiller 2022-10-03 18:06:06 -05:00
parent a6fa90fc44
commit 2a30993f4d

View File

@ -42,19 +42,21 @@ return packer.startup({
"folke/noice.nvim",
event = "VimEnter",
config = function()
require("plugins.configs.nvim-notify")
require("noice").setup({
cmdline = {
view = "cmdline",
},
routes = {
filter = {
event = "cmdline",
find = "^%s*[/?]",
views = {
cmdline_popup = {
border = {
padding = { 1, 3 },
},
filter_options = {},
win_options = {
winhighlight = "NormalFloat:NormalFloat,FloatBorder:FloatBorder",
},
},
view = "cmdline",
},
})
-- NOTE: Might be redundant, to check later
require("plugins.configs.nvim-notify")
end,
requires = {
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries