Permalink
Browse files

also add source.python and source.r, probably fixes #11

  • Loading branch information...
1 parent 424d275 commit cc56a21dc0a4134316500dbc0956275cf813bcda @maximsch2 committed Oct 4, 2013
Showing with 6 additions and 4 deletions.
  1. +2 −2 SublimeIPythonNotebook.tmLanguage
  2. +2 −2 SublimeIPythonNotebook.tmLanguage.JSON
  3. +2 −0 TODO.md
@@ -27,7 +27,7 @@
</dict>
</dict>
<key>contentName</key>
- <string>ipynb.source.input.r</string>
+ <string>ipynb.source.input.r source.r</string>
<key>end</key>
<string>\#\/Input</string>
<key>endCaptures</key>
@@ -90,7 +90,7 @@
</dict>
</dict>
<key>contentName</key>
- <string>ipynb.source.input.python</string>
+ <string>ipynb.source.input.python source.python</string>
<key>end</key>
<string>(\#\/Input\[\1\])$</string>
<key>endCaptures</key>
@@ -14,7 +14,7 @@
{
- "contentName": "ipynb.source.input.r",
+ "contentName": "ipynb.source.input.r source.r",
"begin": "\\#Input-R\\[.*\\]\n",
"end": "\\#\\/Input",
"beginCaptures": {
@@ -50,7 +50,7 @@
{
- "contentName": "ipynb.source.input.python",
+ "contentName": "ipynb.source.input.python source.python",
"begin": "\\#Input\\[(.*)\\]\\n",
"end": "(\\#\\/Input\\[\\1\\])$",
"patterns": [
View
@@ -10,6 +10,8 @@
BUGS:
+Wrong highlighting for open """ .
+
TODO for IPython 1.0
- support stdin input for %debug, raw_input and so on

0 comments on commit cc56a21

Please sign in to comment.