-
Notifications
You must be signed in to change notification settings - Fork 292
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
Syntax colour highlighting a pointer to a pointer in Go(lang) is off. #482
Comments
could you provide the code on your screenshot? |
sure, apologies for not doing so initially.
|
Hi @irisida and @Binaryify, I am coming from jeff-hykin/better-go-syntax#15. I believe this is a syntax issue if you look at the Textmate scopes. That repo is the VSCode upstream syntax repo for Go I believe. I think the One Dark Pro theme is not doing anything wrong here, and is only responding to what the syntax is telling it. |
@tristan957 thank for the feedback @irisida you could follow this issue jeff-hykin/better-go-syntax#15 |
Thanks for your reply. However, just for context.... The same code on other "one dark" alike themes, (atom, vivid etc) all handle the syntax highlighting as would be expected. As does most other installed themes, radical, synthwave84 etc... Of about 8-10 installed themes one dark pro is the only one to highlight the syntax in this manner. Not disagreeing with the issue you're highlighting of course. |
@irisida oh, I just check that, and it's indeed a bug |
is this right? |
@Binaryify yes, that's the one. |
just released a new version,you can check it now |
moving to close issue |
resolved. Many thanks. Corrected on 3.9.6 |
Oh good to know that's it's a bug in both places. |
To me the syntax highlighting is buggy in Go when you have a pointer to a pointer. I would expect the double dereferencing operator to share the same syntax highlighting colour.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Double dereferencing operator has unified syntax colour highlighting
Screenshots & Example Code
![Screenshot 2020-11-15 at 00 04 06](https://user-images.githubusercontent.com/20445648/99159689-b8c97780-26d6-11eb-91dc-acff3a078d71.png)
Desktop (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: