You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using gopls as LSP to write Go code. One common issue I encounter is that when I iterate through the fields of a struct, the focus node in both the preview window and the original window loses its foreground color (figure.1).
However, some fields are displayed correctly with highlight color(figure.2). To resolve this, I have to disable the highlight feature in the source_buffer option.
The text was updated successfully, but these errors were encountered:
waynerv
changed the title
Focused node of gopls struct do not display fg
Focused node highlight not working properly for golang
Sep 8, 2023
After some research, I found that in many cases the background color of NavbuddyName is lost (more precisely, it use the background color of NavbuddyScope instead), but the foreground color still works. Don't know how all this happens.
I am using gopls as LSP to write Go code. One common issue I encounter is that when I iterate through the fields of a struct, the focus node in both the preview window and the original window loses its foreground color (figure.1).
However, some fields are displayed correctly with highlight color(figure.2). To resolve this, I have to disable the highlight feature in the source_buffer option.
The text was updated successfully, but these errors were encountered: