Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add initial semantic classes.

  • Loading branch information...
commit e98874f929880dd528d9b9f3d1c39b6852bdd0e9 1 parent 9c5ccb1
@infininight infininight authored
View
21 Commands/Build SML.tmCommand
@@ -1,11 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
- <string>if [[ -d "$TM_SMLNJ_HOME/base/system" ]]; then
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+if [[ -d "$TM_SMLNJ_HOME/base/system" ]]; then
cd "$TM_SMLNJ_HOME/base/system"
make
else
@@ -14,15 +17,25 @@ fi
</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@b</string>
<key>name</key>
<string>Build SML</string>
- <key>output</key>
- <string>showAsHTML</string>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>html</string>
+ <key>outputLocation</key>
+ <string>newWindow</string>
<key>scope</key>
<string>source.ml</string>
+ <key>semanticClass</key>
+ <string>process.build.ml</string>
<key>uuid</key>
<string>0E144686-095D-4B69-94D0-6E0ECA41C90D</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
2  Commands/CM Build.tmCommand
@@ -39,6 +39,8 @@ echo "CM.make \"sources.cm\";"|"${TM_SML:-sml}"|pre</string>
</array>
<key>scope</key>
<string>source.ml</string>
+ <key>semanticClass</key>
+ <string>process.alternate.run.ml</string>
<key>uuid</key>
<string>1EA6E877-4B4E-44EC-9118-9295A0F1432D</string>
<key>version</key>
View
2  Commands/Run in SML.plist
@@ -41,6 +41,8 @@
</array>
<key>scope</key>
<string>source.ml</string>
+ <key>semanticClass</key>
+ <string>process.run.ml</string>
<key>uuid</key>
<string>18819157-C273-4649-9013-3A2705993795</string>
<key>version</key>
Please sign in to comment.
Something went wrong with that request. Please try again.