Setting `fg_color` has no effect
junglie85 opened this issue · 0 comments
junglie85 commented
The following config should set the text colour but does not:
local status, picker = pcall(require, "window-picker")
if (not status) then return end
picker.setup {
include_current_win = true,
selection_chars = "1234567890",
fg_color = "#1e1e28", -- text
current_win_hl_color = "#f9c096", -- current window colour
other_win_hl_color = "#a4b9ef", -- all other windows colour
}
vim.keymap.set("n", "<leader>w", function()
local picked_window_id = picker.pick_window() or vim.api.nvim_get_current_win()
vim.api.nvim_set_current_win(picked_window_id)
end, { desc = "Pick a window" })