File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import (
1414
1515 "github.com/arduino/arduino-cli/executils"
1616 rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/settings/v1"
17+ "github.com/arduino/arduino-language-server/globals"
1718 "github.com/arduino/arduino-language-server/sourcemapper"
1819 "github.com/arduino/arduino-language-server/streams"
1920 "github.com/arduino/go-paths-helper"
@@ -356,7 +357,7 @@ func (ls *INOLanguageServer) initializeReqFromIDE(ctx context.Context, logger js
356357 },
357358 ServerInfo : & lsp.InitializeResultServerInfo {
358359 Name : "arduino-language-server" ,
359- Version : "0.7.2" ,
360+ Version : globals . VersionInfo . VersionString ,
360361 },
361362 }
362363 logger .Logf ("initialization parameters: %s" , string (lsp .EncodeMessage (resp )))
You can’t perform that action at this time.
0 commit comments