Syntax highlighting issue when there is no space preceding (TypeScript-TmLanguage/issues/11)

This commit is contained in:
Martin Aeschlimann
2016-05-26 17:04:49 +02:00
parent 0da2c0039a
commit 9938136e44
6 changed files with 1352 additions and 2 deletions

View File

@@ -1659,7 +1659,7 @@
<key>type-parameters</key>
<dict>
<key>begin</key>
<string>([a-zA-Z_$][\w$]*)?(&lt;)</string>
<string>([a-zA-Z_$][\w$]*)?(&lt;)(?=(([a-zA-Z_$][\w$.]*)(&lt;([a-zA-Z_$][\w$.,\s]+)&gt;)?[,\s]*)+&gt;)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>

View File

@@ -2025,7 +2025,7 @@
<key>type-parameters</key>
<dict>
<key>begin</key>
<string>([a-zA-Z_$][\w$]*)?(&lt;)</string>
<string>([a-zA-Z_$][\w$]*)?(&lt;)(?=(([a-zA-Z_$][\w$.]*)(&lt;([a-zA-Z_$][\w$.,\s]+)&gt;)?[,\s]*)+&gt;)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>