-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
go_highlight_types for interface #1283
Comments
The error is caused by the syntax check of the keywords interface and struct. Interestingly enough, this also causes the "struct" keyword to be highlighted when it is at the end of a word, like in encoderstruct. I made a pull request to fix this. |
fatih
added a commit
that referenced
this issue
May 27, 2017
Fix Issue #1283 Resolve highlighting error by surrounding expression in \(\)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Behavior
Hi,
I set
let g:go_highlight_types = 1
and have highlight issue here. Please check the following picture. I thinkinterfaceEncoder
should not be highlighted. Does it make senses from original design?The reference code is here.
Steps to reproduce:
Re produce it with a minimal
vimrc
with all plugins disabled andonly
vim-go
enabled:Configuration
Add here your current configuration and additional information that might be
useful, such as:
VIM - Vi IMproved 8.0
v1.12
go version go1.8 darwin/amd64
The text was updated successfully, but these errors were encountered: