summaryrefslogtreecommitdiff
path: root/internal/lsp/document_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-02 13:53:29 +0200
committerPaul Buetow <paul@buetow.org>2026-03-02 13:53:29 +0200
commitabfb1964fce8f742e1b02d83f4983656c49c7b95 (patch)
tree183f74220561944d626ad44576d6ef33a818e39e /internal/lsp/document_test.go
parent81e79a1daf26475f020605dd92970c9bf5b112fe (diff)
lsp: extract completion/chat/codeaction server subtypes (task 406)
Diffstat (limited to 'internal/lsp/document_test.go')
-rw-r--r--internal/lsp/document_test.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/internal/lsp/document_test.go b/internal/lsp/document_test.go
index 95f0157..1a3f909 100644
--- a/internal/lsp/document_test.go
+++ b/internal/lsp/document_test.go
@@ -36,11 +36,13 @@ func newTestServer() *Server {
PromptCodeActionGoTestUser: "Function under test:\n{{function}}",
}
return &Server{
- logger: log.New(io.Discard, "", 0),
- docs: make(map[string]*document),
- cfg: cfg,
- altClients: make(map[string]llm.Client),
- llmProvider: canonicalProvider(cfg.Provider),
+ logger: log.New(io.Discard, "", 0),
+ docs: make(map[string]*document),
+ cfg: cfg,
+ codeActionSubsystem: codeActionSubsystem{
+ altClients: make(map[string]llm.Client),
+ llmProvider: canonicalProvider(cfg.Provider),
+ },
}
}