Skip to content

Commit 1a58afb

Browse files
committed
do not consider keywords tokens for compleation reasons, to allow completion on this and super
1 parent 5149c8f commit 1a58afb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/services/services.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,8 +1734,7 @@ module ts {
17341734
}
17351735

17361736
function isToken(kind: SyntaxKind) {
1737-
return (SyntaxKind.FirstPunctuation <= kind && kind <= SyntaxKind.LastPunctuation) ||
1738-
(SyntaxKind.FirstKeyword <= kind && kind <= SyntaxKind.LastKeyword);
1737+
return (SyntaxKind.FirstPunctuation <= kind && kind <= SyntaxKind.LastPunctuation);
17391738
}
17401739

17411740
synchronizeHostData();

0 commit comments

Comments
 (0)