-
Notifications
You must be signed in to change notification settings - Fork 146
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
Treesitter Highlighting Looks Worse for Rust #196
Comments
Also, I can't figure out the highlight keyword for the ["@try_expression"] = { fg = "$red"} I think I'm not understanding how to identify treesitter keywords from the readme. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this plugin. I love onedark and I think your approach to it is the easiest one to use.
I just noticed today that I didn't have the Rust treesitter parser installed. I was getting syntax highlighting probably through the "rust-tools.nvim" plugin previously.
When I enable treesitter highlighting with
TSEnable highlight
, almost everything remains the same except for three things:?
operators&
operatorsThe highlight for these nodes makes them hard to distinguish from other text.
Is this intended? Or do I have a conflict somewhere?
Here's some pictures for reference:
TS Highlighting Disabled:
![Screenshot_20231217_205500](https://private-user-images.githubusercontent.com/49411532/291155736-bddb40a6-c389-411a-a1da-3df2dc7a222d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwMzQyNDcsIm5iZiI6MTcxOTAzMzk0NywicGF0aCI6Ii80OTQxMTUzMi8yOTExNTU3MzYtYmRkYjQwYTYtYzM4OS00MTFhLWExZGEtM2RmMmRjN2EyMjJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIyVDA1MjU0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ0YTE2MGVlM2JlM2Q5NzczODc3ZTdlMGQ5NmI2ZWEyMzMyMTZiM2U5NWE5NjQwYzcxYjQyZTE5OTVjYThhNjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.15ZQg8CPmQ5JgnCue2rHGOneHMeX9D3h39dmMINTKHk)
TS Highlighting Enabled:
![Screenshot_20231217_205447](https://private-user-images.githubusercontent.com/49411532/291155750-a38fec7b-1450-407f-a512-aa2c08117811.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwMzQyNDcsIm5iZiI6MTcxOTAzMzk0NywicGF0aCI6Ii80OTQxMTUzMi8yOTExNTU3NTAtYTM4ZmVjN2ItMTQ1MC00MDdmLWE1MTItYWEyYzA4MTE3ODExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIyVDA1MjU0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc4NjBhZDMxNzUyMjQ4YmY0MTg4MmFmOWY0Y2MyNjc0ZTE0ZDA4ZmVhOTlmZGU4OWYxMjZlNDllYWQyNGY0NGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.JXF2eO_kgk6PEgBX5fcAlMH0IhtmkfcTMdd8LIk8Yko)
Here's my config:
Thank you.
The text was updated successfully, but these errors were encountered: