Skip to content

Commit b1a9a5e

Browse files
author
MattDMo
committed
Add support.ipython.cell-number
1 parent 452cca5 commit b1a9a5e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

PythonImproved.YAML-tmLanguage

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ uuid: 0F24FCF1-6543-4CC6-8B33-2EAED401FE3A
88

99
patterns:
1010
- name: support.ipython.in
11-
match: (^In \[\d+\]\:)
11+
match: (^In \[(\d+)\]\:)
12+
captures:
13+
'2': {name: support.ipython.cell-number}
1214

1315
- name: support.ipython.out
14-
match: (^Out\[\d+\]\:)
16+
match: (^Out\[(\d+)\]\:)
17+
captures:
18+
'2': {name: support.ipython.cell-number}
1519

1620
- name: support.type.django.model
1721
comment: updated for 1.7, backwards-compatible with 1.6

0 commit comments

Comments
 (0)