galaxyline.nvim icon indicating copy to clipboard operation
galaxyline.nvim copied to clipboard

I think there's something wrong with highlights

Open lucasvianav opened this issue 4 years ago • 2 comments
trafficstars

Hey, thanks for maintaining this great plugin :)

Yesterday I noticed one separator in my statusline stopped working like it was before --- I'm not getting any foreground/background highlighting. And while I was writing this issue, I also noticed that I can't any of the highlights in the element below, neither the text's nor the separator's.

{
    FileName = {
        provider = function()
            return (api.nvim_buf_get_name(0):len() == 0) and icons.empty
                or fileinfo.get_current_file_name('', '')
        end,
        highlight = { colors.fg, colors.bg_light },
        separator = icons.right,
        separator_highlight = { colors.bg_light, colors.bg },
    },
},

image

(in case it helps, here's my full config)

lucasvianav avatar Oct 03 '21 15:10 lucasvianav

Hi, is your bg_light white?

I think I know what could be causing the issue, are you using packer? Let's try rolling back to a previous commit, I would recommend using this one f8c3653f34f8993a1aff1a7fad7052c11e75cfbe.

You can add a commit = "a commit hash", in your galaxyline declaration and run :PackerSync.

Please let me know if the issue is gone with this commit so we can dig on it!

NTBBloodbath avatar Oct 03 '21 23:10 NTBBloodbath

My bg_light is #1E1E1E. This commit does work, just rolled it back.

lucasvianav avatar Oct 04 '21 00:10 lucasvianav