Permalink
Browse files

Add initial semantic classes.

  • Loading branch information...
1 parent 6194de9 commit 75eeaddaa63d1ae2a00d757716efcbd5a555ffcc @infininight infininight committed Sep 10, 2012
Showing with 17 additions and 4 deletions.
  1. +17 −4 Commands/Sweave, Typeset & View.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># Source some support functions we need.
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+# Source some support functions we need.
. "${TM_SUPPORT_PATH}/lib/html.sh"
. "${TM_SUPPORT_PATH}/lib/webpreview.sh"
@@ -85,15 +88,25 @@ html_footer
</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@r</string>
<key>name</key>
<string>Sweave, Typeset &amp; View</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>text.tex.latex.sweave, text.tex.latex.sweave source.r</string>
+ <key>semanticClass</key>
+ <string>process.run.tex.latex.sweave</string>
<key>uuid</key>
<string>F599ACE4-6B59-4235-A2BF-7BABA5C911B7</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>

0 comments on commit 75eeadd

Please sign in to comment.