-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
support staticcheck #2538
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
Labels
Milestone
Comments
gopls is adding support for staticcheck, so instead of adding support as a metalinter, this will probably be done by adding support for surfacing the gopls diagnostics in a quickfix and/or location list. |
bhcleek
added a commit
to bhcleek/vim-go
that referenced
this issue
Dec 5, 2019
Add a new comamnd, `:GoDiagnostics`, to display the LSP diagnostics for packages. Teach :GoMetaLinter to display LSP diagnostics when g:go_metalinter_command == 'gopls'. Closes fatih#2538
bhcleek
added a commit
to bhcleek/vim-go
that referenced
this issue
Dec 5, 2019
Add a new comamnd, `:GoDiagnostics`, to display the LSP diagnostics for packages. Teach :GoMetaLinter to display LSP diagnostics when g:go_metalinter_command == 'gopls'. Closes fatih#2538
bhcleek
added a commit
to bhcleek/vim-go
that referenced
this issue
Dec 5, 2019
Add a new comamnd, `:GoDiagnostics`, to display the LSP diagnostics for packages. Teach :GoMetaLinter to display LSP diagnostics when g:go_metalinter_command == 'gopls'. Closes fatih#2538
bhcleek
added a commit
to bhcleek/vim-go
that referenced
this issue
Dec 13, 2019
Add a new comamnd, `:GoDiagnostics`, to display the LSP diagnostics for packages. Teach :GoMetaLinter to display LSP diagnostics when g:go_metalinter_command == 'gopls'. Closes fatih#2538
bhcleek
added a commit
to bhcleek/vim-go
that referenced
this issue
Dec 13, 2019
Add a new comamnd, `:GoDiagnostics`, to display the LSP diagnostics for packages. Teach :GoMetaLinter to display LSP diagnostics when g:go_metalinter_command == 'gopls'. Closes fatih#2538
bhcleek
added a commit
to bhcleek/vim-go
that referenced
this issue
Dec 13, 2019
Add a new comamnd, `:GoDiagnostics`, to display the LSP diagnostics for packages. Teach :GoMetaLinter to display LSP diagnostics when g:go_metalinter_command == 'gopls'. Closes fatih#2538
bhcleek
added a commit
to bhcleek/vim-go
that referenced
this issue
Dec 13, 2019
Add a new command, `:GoDiagnostics`, to display the LSP diagnostics for packages. Teach :GoMetaLinter to display LSP diagnostics when g:go_metalinter_command == 'gopls'. Closes fatih#2538
bhcleek
added a commit
to bhcleek/vim-go
that referenced
this issue
Dec 13, 2019
Add a new command, `:GoDiagnostics`, to display the LSP diagnostics for packages. Teach :GoMetaLinter to display LSP diagnostics when g:go_metalinter_command == 'gopls'. Closes fatih#2538
bhcleek
added a commit
to bhcleek/vim-go
that referenced
this issue
Dec 16, 2019
Add a new command, `:GoDiagnostics`, to display the LSP diagnostics for packages. Teach :GoMetaLinter to display LSP diagnostics when g:go_metalinter_command == 'gopls'. Closes fatih#2538
Should it be possible to surface error not with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Support staticcheck as a metalinter.
acceptance criteria
open questions
g:go_metalinter_enabled
,g:go_metalinter_disabled
, andg:go_metalinter_autosave_enabled
options apply to staticcheck? If so, shouldg:go_metalinter_autosave_disabled
be allowed, too? Given staticcheck's config support, perhaps these don't make sense to use at all.The text was updated successfully, but these errors were encountered: