summaryrefslogtreecommitdiff
path: root/internal/lsp/completion_messages_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/completion_messages_test.go')
-rw-r--r--internal/lsp/completion_messages_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/lsp/completion_messages_test.go b/internal/lsp/completion_messages_test.go
index 20aac69..f0c693c 100644
--- a/internal/lsp/completion_messages_test.go
+++ b/internal/lsp/completion_messages_test.go
@@ -37,7 +37,7 @@ func TestBuildCompletionMessages_ExtraContextIncluded(t *testing.T) {
func TestPrefixHeuristic_AllVariants(t *testing.T) {
s := newTestServer()
// manual invoke requires at least min prefix; set to 2
- s.manualInvokeMinPrefix = 2
+ s.cfg.ManualInvokeMinPrefix = 2
cur := "a"
p := CompletionParams{Position: Position{Line: 0, Character: 1}}
if s.prefixHeuristicAllows(false, cur, p, true) {