Update go.lua to eliminate fieldalignment from analyses

This 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
This commit is contained in:
cjon256
2024-12-18 02:26:43 -05:00
committed by GitHub
parent 447e260a62
commit f96aac6c6b

View File

@@ -37,7 +37,6 @@ return {
rangeVariableTypes = true,
},
analyses = {
fieldalignment = true,
nilness = true,
unusedparams = true,
unusedwrite = true,