summaryrefslogtreecommitdiff
path: root/internal/lsp/provider_native_success_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-24 23:21:43 +0300
committerPaul Buetow <paul@buetow.org>2025-09-24 23:21:43 +0300
commitc3c71345db9086392cd9b7529c7f5287009c226e (patch)
treed227894ab900d6050cbe1418984526088a692db5 /internal/lsp/provider_native_success_test.go
parent127844a4ee481590ef53b6777d34bf2114cb3ab1 (diff)
Add runtime config store and reload command
Diffstat (limited to 'internal/lsp/provider_native_success_test.go')
-rw-r--r--internal/lsp/provider_native_success_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/lsp/provider_native_success_test.go b/internal/lsp/provider_native_success_test.go
index ac227be..6df5698 100644
--- a/internal/lsp/provider_native_success_test.go
+++ b/internal/lsp/provider_native_success_test.go
@@ -77,7 +77,9 @@ func TestProviderNativeCompletion_UsesPromptTemplate(t *testing.T) {
s := newTestServer()
cap := &fakeCompleterCapture{}
s.llmClient = cap
- s.promptNativeCompletion = "NATIVE {{path}} {{before}}"
+ cfg := s.cfg
+ cfg.PromptNativeCompletion = "NATIVE {{path}} {{before}}"
+ s.cfg = cfg
uri := "file:///x.go"
s.setDocument(uri, "AAA\nBBB\nCCC")
current := "fmt."