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

correct and extend use of g:go_diagnostics_level #3119

Merged
merged 2 commits into from
Dec 22, 2020

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented Dec 21, 2020

lsp: use diagnostic options properly

Use the diagnostics level to determine whether to store the diagnostics
with the buffer and the diagnostic highlight options to determine
whether to highlight the relevent text.

This will allow users to toggle highlighting to affect whether text is
highlighted and adjust the level to determine whether there are any
diagnostics stored at all.

lsp: ignore diagnostics that do not satisfy g:go_diagnostics_level

@bhcleek bhcleek added this to the vim-go 1.25 milestone Dec 21, 2020
Use the diagnostics level to determine whether to store the diagnostics
with the buffer and the diagnostic highlight options to determine
whether to highlight the relevent text.

This will allow users to toggle highlighting to affect whether text is
highlighted and adjust the level to determine whether there are any
diagnostics stored at all.
@bhcleek bhcleek force-pushed the diagnostics/highlighting-correctly branch from 352ad0b to a390813 Compare December 22, 2020 03:37
@bhcleek bhcleek merged commit 5626e70 into fatih:master Dec 22, 2020
@bhcleek bhcleek deleted the diagnostics/highlighting-correctly branch December 22, 2020 05:18
bhcleek added a commit that referenced this pull request Dec 22, 2020
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.

1 participant