From d900d7fa9af12de377cb238775084ada06991bed Mon Sep 17 00:00:00 2001 From: Hariom Verma Date: Fri, 22 Sep 2023 21:27:37 +0530 Subject: [PATCH] Correct version in server info --- internal/lsp/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/lsp/server.go b/internal/lsp/server.go index a01486e..068409b 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -83,7 +83,7 @@ func (s *server) Initialize(ctx context.Context, reply jsonrpc2.Replier, req jso return reply(ctx, protocol.InitializeResult{ ServerInfo: &protocol.ServerInfo{ Name: "gnopls", - Version: version.Version, + Version: version.GetVersion(ctx), }, Capabilities: protocol.ServerCapabilities{ TextDocumentSync: protocol.TextDocumentSyncOptions{