Skip to content
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: support new predefined types any and comparable for Go 1.18 #3351

Merged
merged 1 commit into from
Feb 6, 2022
Merged

syntax: support new predefined types any and comparable for Go 1.18 #3351

merged 1 commit into from
Feb 6, 2022

Conversation

fzipp
Copy link
Contributor

@fzipp fzipp commented Feb 5, 2022

Go 1.18 introduces two new predeclared identifiers any and comparable:

https://pkg.go.dev/builtin@go1.18beta2#any

https://pkg.go.dev/builtin@go1.18beta2#comparable

This pull request adds syntax highlighting for them.

Copy link
Collaborator

@bhcleek bhcleek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing

@bhcleek bhcleek merged commit 3573d89 into fatih:master Feb 6, 2022
@bhcleek bhcleek added this to the vim-go 1.26 milestone Feb 6, 2022
bhcleek added a commit that referenced this pull request Feb 6, 2022
@fzipp
Copy link
Contributor Author

fzipp commented Feb 6, 2022

Thank you for merging. How will this trickle down to the vim/vim repository?
According to CONTRIBUTING.md#syntax-indent-and-other-runtime-files you will send updates to Bram?

@bhcleek
Copy link
Collaborator

bhcleek commented Feb 6, 2022

Yeah, I'll submit a PR to Vim soon

@jackieli-tes
Copy link

Thanks for the patch, I'm using just the syntax, waiting for the PR to VIM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants