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

Highlight link to some Treesitter highlight by default? #45

Open
lkhphuc opened this issue Jul 25, 2022 · 2 comments
Open

Highlight link to some Treesitter highlight by default? #45

lkhphuc opened this issue Jul 25, 2022 · 2 comments

Comments

@lkhphuc
Copy link

lkhphuc commented Jul 25, 2022

I was wondering why the need for separate color highlight group and require separate theme support/manually defined colors, when everything has a 1-1 correspondence with Treesitter symbols.

Otherwise if color highlight is enabled, should the color be linked to treesitter by default? That would simplify the setup quite a bit.

@SmiteshP
Copy link
Owner

SmiteshP commented Sep 4, 2022

There isn't a 1-1 mapping for every symbol...
for example File, Package, Module, etc...

@captainko
Copy link

I think It should be default, then leave the rest for users

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

No branches or pull requests

3 participants