aboutsummaryrefslogtreecommitdiff
path: root/src/server/position_context.odin
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-13 22:35:24 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-13 22:35:24 -0400
commite9a3c436d6fc23a1622e59394aff1c34762b2482 (patch)
treedb90be7649acaf5e7317c205440aa0badda3752a /src/server/position_context.odin
parent69c2024f8a65244d46941fbbf6459fed01348dee (diff)
Revert "Merge pull request #1011 from BradLewis/fix/completions-select-in-selector-call"
This reverts commit 69c2024f8a65244d46941fbbf6459fed01348dee, reversing changes made to a581608407b82b4816b7fbbe29da97c55c53c33e.
Diffstat (limited to 'src/server/position_context.odin')
-rw-r--r--src/server/position_context.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/position_context.odin b/src/server/position_context.odin
index 46efce2..0417df8 100644
--- a/src/server/position_context.odin
+++ b/src/server/position_context.odin
@@ -138,7 +138,7 @@ get_document_position_context :: proc(
position_context.parent_binary = nil
}
- if hint == .Completion {
+ if hint == .Completion && position_context.selector == nil && position_context.field == nil {
fallback_position_context_completion(document, position, &position_context)
}