Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add initial semantic classes.

  • Loading branch information...
commit 75eeaddaa63d1ae2a00d757716efcbd5a555ffcc 1 parent 6194de9
Michael Sheets authored

Showing 1 changed file with 17 additions and 4 deletions. Show diff stats Hide diff stats

  1. 21  Commands/Sweave, Typeset & View.tmCommand
21  Commands/Sweave, Typeset & View.tmCommand
... ...
@@ -1,11 +1,14 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2  
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 3
 <plist version="1.0">
4 4
 <dict>
5 5
 	<key>beforeRunningCommand</key>
6 6
 	<string>nop</string>
7 7
 	<key>command</key>
8  
-	<string># Source some support functions we need.
  8
+	<string>#!/usr/bin/env bash
  9
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
  10
+
  11
+# Source some support functions we need.
9 12
 . "${TM_SUPPORT_PATH}/lib/html.sh"
10 13
 . "${TM_SUPPORT_PATH}/lib/webpreview.sh"
11 14
 
@@ -85,15 +88,25 @@ html_footer
85 88
 </string>
86 89
 	<key>input</key>
87 90
 	<string>none</string>
  91
+	<key>inputFormat</key>
  92
+	<string>text</string>
88 93
 	<key>keyEquivalent</key>
89 94
 	<string>@r</string>
90 95
 	<key>name</key>
91 96
 	<string>Sweave, Typeset &amp; View</string>
92  
-	<key>output</key>
93  
-	<string>showAsHTML</string>
  97
+	<key>outputCaret</key>
  98
+	<string>afterOutput</string>
  99
+	<key>outputFormat</key>
  100
+	<string>html</string>
  101
+	<key>outputLocation</key>
  102
+	<string>newWindow</string>
94 103
 	<key>scope</key>
95 104
 	<string>text.tex.latex.sweave, text.tex.latex.sweave source.r</string>
  105
+	<key>semanticClass</key>
  106
+	<string>process.run.tex.latex.sweave</string>
96 107
 	<key>uuid</key>
97 108
 	<string>F599ACE4-6B59-4235-A2BF-7BABA5C911B7</string>
  109
+	<key>version</key>
  110
+	<integer>2</integer>
98 111
 </dict>
99 112
 </plist>

0 notes on commit 75eeadd

Please sign in to comment.
Something went wrong with that request. Please try again.