Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add initial semantic classes.

  • Loading branch information...
commit e18b66e3fab69573f6e328ac876eec12902a336a 1 parent 0451391
@infininight infininight authored
View
17 Commands/Documentation for Word or Selection.tmCommand
@@ -5,21 +5,34 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
- <string>asd.rb
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+asd.rb
</string>
<key>fallbackInput</key>
<string>word</string>
<key>input</key>
<string>selection</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>^h</string>
<key>name</key>
<string>Documentation for Word / Selection</string>
- <key>output</key>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>text</string>
+ <key>outputLocation</key>
<string>discard</string>
<key>scope</key>
<string>source.js.jsfl</string>
+ <key>semanticClass</key>
+ <string>lookup.define.js.jsfl</string>
<key>uuid</key>
<string>4E4934AC-F290-49DD-A424-14B2760666E7</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
17 Commands/Run.tmCommand
@@ -5,19 +5,32 @@
<key>beforeRunningCommand</key>
<string>saveActiveFile</string>
<key>command</key>
- <string>open "$TM_FILEPATH"
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+open "$TM_FILEPATH"
</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@r</string>
<key>name</key>
<string>Run</string>
- <key>output</key>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>text</string>
+ <key>outputLocation</key>
<string>discard</string>
<key>scope</key>
<string>source.js.jsfl</string>
+ <key>semanticClass</key>
+ <string>process.external.run.js.jsfl</string>
<key>uuid</key>
<string>3ACF1061-FE40-4377-9514-70B83494946D</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
Please sign in to comment.
Something went wrong with that request. Please try again.