Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MordechaiHadad opened this issue Jun 8, 2022 · 4 comments
Open

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

MordechaiHadad opened this issue Jun 8, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@MordechaiHadad
Copy link

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

@fgheng
Copy link
Owner

fgheng commented Jun 8, 2022

Do this solve it?

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

@MordechaiHadad
Copy link
Author

@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
Copy link
Owner

fgheng commented Jun 9, 2022

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.

@fgheng fgheng added the enhancement New feature or request label Jun 9, 2022
@MordechaiHadad
Copy link
Author

@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 :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants