Skip to content

Commit 5bd6ba0

Browse files
author
Loïc Mangeonjean
committed
feat: enable vscode go extension
1 parent 8b7cf56 commit 5bd6ba0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/staticOptions.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,11 @@ const staticOptions = asLanguageClientOptionsById({
137137
{ language: 'go.work', scheme: 'file' },
138138
{ language: 'tmpl', scheme: 'file' }
139139
],
140-
mutualizable: true
140+
mutualizable: true,
141+
vscodeExtensionIds: ['vscode-go'],
142+
defaultConfigurationOverride: {
143+
'gopls.ui.navigation.importShortcut': 'Definition'
144+
}
141145
},
142146
groovy: {
143147
documentSelector: [

0 commit comments

Comments
 (0)