fgheng / winbar.nvim

winbar config for neovim
111 stars 22 forks source link

Is it possible to change highlights for specific parts? #4

Open MordechaiHadad opened 2 years ago

MordechaiHadad commented 2 years ago

Hey I want to disable some highlights for some things, and change for some other(some are gps symbols). Is that possible?

fgheng commented 2 years ago

Do this solve it?

    colors = {
        path = '', -- You can customize colors like #c946fd
        file_name = '',
        symbols = '',
    },
MordechaiHadad commented 2 years ago

@fgheng hey unfortunately not fully, what I want is: I want to have specific color for each gps symbol, for example: function have icon color yellow, property light blue etc... while the symbol color itself will be the foreground color.

and it works but funky: With those colors

        colors = {
            path = "", -- You can customize colors like #c946fd
            file_name = "#000000",
            symbols = "#000000",
        },

but I get those colors:

fgheng commented 2 years ago

I want to have specific color for each gps symbol, for example: function have icon color yellow, property light blue etc... while the symbol color itself will be the foreground color.

Sure, this plugin not support this now, but it's a good idea and I think it's easy to do this. I will check the gps plugin to see whether I can get the detail information of symbols from it.

MordechaiHadad commented 2 years ago

@fgheng I looked it up, doesn't seem like gps provides a way to do it, the only thing you can change are the icons :(