From 1fcb7d472d4762d086b0930091abc7ff38d69549 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 20 Aug 2025 09:09:26 +0300 Subject: better --- internal/lsp/server.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/lsp/server.go') diff --git a/internal/lsp/server.go b/internal/lsp/server.go index e1c9eaa..edd6aca 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -43,6 +43,8 @@ type Server struct { // Small LRU cache for recent code completion outputs (keyed by context) compCache map[string]string compCacheOrder []string // most-recent at end; cap ~10 + // Outgoing JSON-RPC id counter for server-initiated requests + nextID int64 } // ServerOptions collects configuration for NewServer to avoid long parameter lists. -- cgit v1.2.3