Skip to content

Commit ab59518

Browse files
update to latest gopls version 0.18.1 (#90)
Co-authored-by: TerminalFi <TerminalFi@users.noreply.github.com>
1 parent 73e1581 commit ab59518

3 files changed

Lines changed: 75 additions & 66 deletions

File tree

LSP-gopls.sublime-settings

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,17 @@
9393
"ignore"
9494
],
9595

96+
// workspaceFiles configures the set of globs that match files defining the
97+
// logical build of the current workspace. Any on-disk changes to any files
98+
// matching a glob specified here will trigger a reload of the workspace.
99+
//
100+
// This setting need only be customized in environments with a custom
101+
// GOPACKAGESDRIVER.
102+
//
103+
"gopls.workspaceFiles": [],
104+
96105
// hoverKind controls the information that appears in the hover text.
97-
// SingleLine and Structured are intended for use only by authors of editor plugins.
106+
// SingleLine is intended for use only by authors of editor plugins.
98107
//
99108
"gopls.hoverKind": "FullDocumentation",
100109

@@ -204,16 +213,6 @@
204213
//
205214
"gopls.staticcheck": false,
206215

207-
// (experimental) annotations specifies the various kinds of optimization diagnostics
208-
// that should be reported by the gc_details command.
209-
//
210-
"gopls.annotations": {
211-
"bounds": true,
212-
"escape": true,
213-
"inline": true,
214-
"nil": true
215-
},
216-
217216
// (experimental) vulncheck enables vulnerability scanning.
218217
//
219218
"gopls.vulncheck": "Off",
@@ -259,14 +258,12 @@
259258
// ...
260259
// "codelenses": {
261260
// "generate": false, // Don't show the `go generate` lens.
262-
// "gc_details": true // Show a code lens toggling the display of gc's choices.
263261
// }
264262
// ...
265263
// }
266264
// ```
267265
//
268266
"gopls.codelenses": {
269-
"gc_details": false,
270267
"generate": true,
271268
"regenerate_cgo": true,
272269
"run_govulncheck": false,
@@ -282,12 +279,30 @@
282279

283280
// (experimental) noSemanticString turns off the sending of the semantic token 'string'
284281
//
282+
// Deprecated: Use SemanticTokenTypes["string"] = false instead. See
283+
// golang/vscode-go#3632
284+
//
285285
"gopls.noSemanticString": false,
286286

287-
// (experimental) noSemanticNumber turns off the sending of the semantic token 'number'
287+
// (experimental) noSemanticNumber turns off the sending of the semantic token 'number'
288+
//
289+
// Deprecated: Use SemanticTokenTypes["number"] = false instead. See
290+
// golang/vscode-go#3632.
288291
//
289292
"gopls.noSemanticNumber": false,
290293

294+
// (experimental) semanticTokenTypes configures the semantic token types. It allows
295+
// disabling types by setting each value to false.
296+
// By default, all types are enabled.
297+
//
298+
"gopls.semanticTokenTypes": {},
299+
300+
// (experimental) semanticTokenModifiers configures the semantic token modifiers. It allows
301+
// disabling modifiers by setting each value to false.
302+
// By default, all modifiers are enabled.
303+
//
304+
"gopls.semanticTokenModifiers": {},
305+
291306
// local is the equivalent of the `goimports -local` flag, which puts
292307
// imports beginning with this string after third-party packages. It should
293308
// be the prefix of the import path whose imports should be grouped

plugin/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '0.17.1'
1+
VERSION = '0.18.1'

0 commit comments

Comments
 (0)