diff --git a/src/services/services.ts b/src/services/services.ts index 90227eeb1f..39eab2f7e1 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -5658,6 +5658,8 @@ module ts { return true; } + // If there is a syntactic classifier ('syntacticClassifierAbsent' is false), + // we will be more conservative in order to avoid conflicting with the syntactic classifier. function getClassificationsForLine(text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean): ClassificationResult { var offset = 0; var token = SyntaxKind.Unknown;