From 04540a3ebe561a1e2f9852ad0a41a85d5a67f3c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Mon, 13 May 2024 21:08:58 -0300 Subject: [PATCH] Improve gopls default configuration. --- bin/assets/plugins/lspclient.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/assets/plugins/lspclient.json b/bin/assets/plugins/lspclient.json index 89643a04e..9ee948629 100644 --- a/bin/assets/plugins/lspclient.json +++ b/bin/assets/plugins/lspclient.json @@ -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",