Skip to content

Commit 77fb7bb

Browse files
committed
Fix call tips for shorthand template syntax
1 parent cd06a41 commit 77fb7bb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/autocomplete.d

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,21 @@ AutocompleteResponse parenCompletion(T)(T beforeTokens,
367367
response.completionKinds ~= CompletionKind.keyword;
368368
}
369369
break;
370+
case tok!"characterLiteral":
371+
case tok!"doubleLiteral":
372+
case tok!"dstringLiteral":
373+
case tok!"floatLiteral":
370374
case tok!"identifier":
375+
case tok!"idoubleLiteral":
376+
case tok!"ifloatLiteral":
377+
case tok!"intLiteral":
378+
case tok!"irealLiteral":
379+
case tok!"longLiteral":
380+
case tok!"realLiteral":
381+
case tok!"stringLiteral":
382+
case tok!"uintLiteral":
383+
case tok!"ulongLiteral":
384+
case tok!"wstringLiteral":
371385
case tok!")":
372386
case tok!"]":
373387
auto allocator = scoped!(CAllocatorImpl!(BlockAllocator!(1024 * 16)))();

0 commit comments

Comments
 (0)