Permalink
Browse files

comments in signatures, added sigexp pattern

git-svn-id: http://svn.textmate.org/trunk/Bundles/Standard ML.tmbundle@8076 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent cb19647 commit f4062be9a2da638a80627d3b378b6bfe2439b270 @commonlisp commonlisp committed Aug 29, 2007
Showing with 45 additions and 27 deletions.
  1. +45 −27 Syntaxes/Standard ML.plist
@@ -56,32 +56,8 @@
</array>
</dict>
<dict>
- <key>begin</key>
- <string>\b(sig)\b</string>
- <key>captures</key>
- <dict>
- <key>1</key>
- <dict>
- <key>name</key>
- <string>keyword.other.delimiter.ml</string>
- </dict>
- <key>2</key>
- <dict>
- <key>name</key>
- <string>keyword.other.delimiter.ml</string>
- </dict>
- </dict>
- <key>end</key>
- <string>\b(end)\b</string>
- <key>name</key>
- <string>meta.module.sigdec.ml</string>
- <key>patterns</key>
- <array>
- <dict>
- <key>include</key>
- <string>#spec</string>
- </dict>
- </array>
+ <key>include</key>
+ <string>#sigexp</string>
</dict>
<dict>
<key>match</key>
@@ -278,6 +254,40 @@
</dict>
</array>
</dict>
+ <key>sigexp</key>
+ <dict>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>begin</key>
+ <string>\b(sig)\b</string>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>keyword.other.delimiter.ml</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>keyword.other.delimiter.ml</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>\b(end)\b</string>
+ <key>name</key>
+ <string>meta.module.sigdec.ml</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#spec</string>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
<key>spec</key>
<dict>
<key>patterns</key>
@@ -414,7 +424,7 @@
</dict>
</dict>
<key>end</key>
- <string>(?=val|type|eqtype|datatype|structure|include)</string>
+ <string>(?=val|type|eqtype|datatype|structure|include|end)</string>
<key>name</key>
<string>meta.spec.ml.structure</string>
<key>patterns</key>
@@ -425,6 +435,14 @@
<key>name</key>
<string>keyword.other.ml</string>
</dict>
+ <dict>
+ <key>include</key>
+ <string>#sigexp</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#comments</string>
+ </dict>
</array>
</dict>
<dict>

0 comments on commit f4062be

Please sign in to comment.