提交 9938136e 编写于 作者: M Martin Aeschlimann

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

上级 0da2c003
......@@ -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>
......
......@@ -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>
......
for(var i=0;i<9;i++){for(var j;i>j;j++){if(j+i<3)console.log(i>j);}}
let x: Thenable<void> = new Promise<A<E, e.F>>();
\ No newline at end of file
for(var i=0;i<9;i++){for(var j;i>j;j++){if(j+i<3)console.log(i>j);}}
let x: Thenable<void> = new Promise<A<E, e.F>>();
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册