From 77fb7bb40083aaacefce975071d58b5e5c66e121 Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Fri, 14 Nov 2014 00:28:00 +0000 Subject: [PATCH] Fix call tips for shorthand template syntax --- src/autocomplete.d | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/autocomplete.d b/src/autocomplete.d index 5081f3e..503ff0f 100644 --- a/src/autocomplete.d +++ b/src/autocomplete.d @@ -367,7 +367,21 @@ AutocompleteResponse parenCompletion(T)(T beforeTokens, response.completionKinds ~= CompletionKind.keyword; } break; + case tok!"characterLiteral": + case tok!"doubleLiteral": + case tok!"dstringLiteral": + case tok!"floatLiteral": case tok!"identifier": + case tok!"idoubleLiteral": + case tok!"ifloatLiteral": + case tok!"intLiteral": + case tok!"irealLiteral": + case tok!"longLiteral": + case tok!"realLiteral": + case tok!"stringLiteral": + case tok!"uintLiteral": + case tok!"ulongLiteral": + case tok!"wstringLiteral": case tok!")": case tok!"]": auto allocator = scoped!(CAllocatorImpl!(BlockAllocator!(1024 * 16)))();