-
Hello, I am desperately trying to the set the background color of the status line in the middle, where no components are set (between I have tried to call this code (once the vim.api.nvim_set_hl(0, "StatusLine", {
force = true,
bg = "<my color>",
fg = "<my color>",
})
vim.api.nvim_set_hl(0, "StatusLineNC", {
force = true,
bg = "<my color>",
fg = "<my color>",
}) Unfortunately it doesn't seem to do anything. The color is still the same. It's like the colors don't seem to be overriding the colors of the theme. Thank you very much in advance for any help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
StatusLine and StatusLineNC are the highlight groups for the default statusline of Neovim. For lualine if you do |
Beta Was this translation helpful? Give feedback.
StatusLine and StatusLineNC are the highlight groups for the default statusline of Neovim. For lualine if you do
:hi lualine<TAB>
it should show all the highlight groups associated with lualine. Hope this helps.