nvim-window-picker icon indicating copy to clipboard operation
nvim-window-picker copied to clipboard

Setting `fg_color` has no effect

Open junglie85 opened this issue 2 years ago • 0 comments

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" })

Instead, it is white: Screenshot 2022-08-13 at 20 34 13

junglie85 avatar Aug 13 '22 19:08 junglie85