bug: Highlight change border colors cmdline_popup
BigfootN opened this issue · comments
BigfootN commented
Did you check docs and existing issues?
- I have read all the noice.nvim docs
- I have searched the existing issues of noice.nvim
- I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
NVIM v0.10.0-dev-2971+g6d732ad3c9
Operating system/version
Arclinux
Describe the bug
Hello,
I am unable to use the highlight groups to set the colors of the borders of the cmline_popup
view.
I have tried to use the following highlight groups:
NoiceCmdlinePopup
NoiceCmdlinePopupBorder
NoiceCmdlinePopupBorderInput
I have never been to successfully modify the color of the borders.
Thank you very much in advance for any help
Steps To Reproduce
Here is my configuration (I'm using lazy.nvim
):
"folke/noice.nvim",
dependencies = {
"MunifTanjim/nui.nvim",
},
opts = {
cmdline = {
format = {
cmdline = {
title = "",
},
},
enabled = true,
view = "cmdline_popup",
},
},
config = function(_, opts)
border_group_id = vim.api.nvim_get_hl_id_by_name("NoiceCmdlinePopupBorderInput")
vim.api.nvim_set_hl(border_group_id, "NoiceCmdlinePopupBorderInput", { fg = "#e78a4e" })
require("noice").setup(opts)
end
Expected Behavior
I wish to be able to modify the colors of the borders.
Repro
"folke/noice.nvim",
dependencies = {
"MunifTanjim/nui.nvim",
},
opts = {
cmdline = {
format = {
cmdline = {
title = "",
},
},
enabled = true,
view = "cmdline_popup",
},
},
config = function(_, opts)
border_group_id = vim.api.nvim_get_hl_id_by_name("NoiceCmdlinePopupBorderInput")
vim.api.nvim_set_hl(border_group_id, "NoiceCmdlinePopupBorderInput", { fg = "#e78a4e" })
require("noice").setup(opts)
end