Search code examples
sweavesublimetext2

Sweave syntax highlighting for Sublime Text


Currently Sublime Text 2 with installed LaTeXTools bundle stumbles over Sweave/knitr code blocks. How can I tell ST to either ignore everything of the form

<<arguments here>>=

@

or, even better, to treat it as R source code?


Solution

  • There's now the SublimeKnitr bundle that's made specifically made for Sublime Text. Install from GitHub source or via Package Control.