mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 00:25:50 +02:00
fix(go): update go.lua to eliminate fieldalignment from analyses (#5170)
## Description
Removed a setting from the go lang plugin. The setting now just causes
an error:
LSP[gopls] Invalid settings: setting option "analyses": this setting is
deprecated, use "the 'fieldalignment' analyzer was removed in
gopls/v0.17.0; instead, hover over struct fields to see size/offset
information (https://go.dev/issue/66861)" instead
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
Note: submitted similar request as f96aac6
but was rejected by CI/CD for
naming reasons. Changing the name did not help. Retrying.
This commit is contained in:
parent
94d0ac0a0c
commit
5c9732733d
1 changed files with 0 additions and 1 deletions
|
@ -37,7 +37,6 @@ return {
|
|||
rangeVariableTypes = true,
|
||||
},
|
||||
analyses = {
|
||||
fieldalignment = true,
|
||||
nilness = true,
|
||||
unusedparams = true,
|
||||
unusedwrite = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue