chore: configure gopls env/buildFlags to avoid scanning toolchain modules
This commit is contained in:
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
@@ -8,6 +8,10 @@
|
||||
]
|
||||
,
|
||||
"gopls": {
|
||||
"buildFlags": ["-tags=ignore"]
|
||||
"buildFlags": ["-tags=ignore", "-mod=mod"],
|
||||
"env": {
|
||||
"GOWORK": "off",
|
||||
"GOFLAGS": "-mod=mod"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user