languages: Add highlighting for Go directives#47621
languages: Add highlighting for Go directives#47621ConradIrwin merged 2 commits intozed-industries:mainfrom
Conversation
…ld` within comments.
|
Nice! I like the idea of highlighting these, but I'm not sure about |
I think we can change it with @preproc, but I'm happy to go with a different option if you prefer. |
|
"preproc" sounds more right to me. Are there other languages with a similar feature, what do they use?. Does preproc look better or worse in the default themes? Happy to ship something and adjust later as needed. |
|
I implemented the change using preproc. Although the coloring didn't change for my dark theme, I think it’s distinct enough to avoid confusion, so I am not updating the PR description. |
|
thanks |
Closes #4381

Before:
After:

Release Notes: