aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2021-03-30 23:07:29 +0200
committerDanielGavin <danielgavin5@hotmail.com>2021-03-30 23:07:29 +0200
commit676f27e656073ab40ccbb19bb3470b8801e421e6 (patch)
tree2ad19534395a6a4ffe94dc643c5f91d6acd362d1 /src
parent6c9c8be7e292a0f473f91cc8acd39718086487a0 (diff)
handle `!` prefix correctly in the fallback completion code
Diffstat (limited to 'src')
-rw-r--r--src/server/analysis.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/analysis.odin b/src/server/analysis.odin
index 6a1a91d..0ad68cc 100644
--- a/src/server/analysis.odin
+++ b/src/server/analysis.odin
@@ -2161,7 +2161,7 @@ fallback_position_context_completion :: proc(document: ^Document, position: comm
if c == ' ' || c == '{' || c == ',' ||
c == '}' || c == '^' || c == ':' ||
c == '\n' || c == '\r' || c == '=' ||
- c == '<' || c == '-' ||
+ c == '<' || c == '-' || c == '!' ||
c == '+' || c == '&' {
start = i + 1;
break;