Improve gopls default configuration.

This commit is contained in:
Martín Lucas Golini
2024-05-13 21:08:58 -03:00
parent c7ab4109f5
commit 04540a3ebe

View File

@@ -54,7 +54,13 @@
"url": "https://golang.org/x/tools/gopls",
"command": "gopls",
"file_patterns": ["%.go$"],
"rootIndicationFileNames": ["go.work", "go.mod", ".git"]
"rootIndicationFileNames": ["go.work", "go.mod", ".git"],
"initializationOptions": {
"usePlaceholders": true,
"semanticTokens": true,
"noSemanticString": true,
"noSemanticNumber": true
}
},
{
"language": "php",