Skip to content

Commit fbb46a2

Browse files
author
Matt Morrison
committed
Put initial comments in XML <!-- --> comment, updated directions for making PI the default
1 parent 0907f3d commit fbb46a2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

PythonImproved.tmLanguage

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,23 @@
66
<string>11B0273F-0284-4483-B17B-4B8D0A9294CC</string>
77
<key>comment</key>
88
<string>
9-
9+
<!--
1010
Compiled by @MattDMo - [email protected]
1111
Inspired by:
1212
- the orginal TextMate and Sublime Text 2 .tmLanguage definitions
1313
- facelessuser's Better Python (https://github.com/facelessuser/sublime-languages)
1414
- Djaniero's Django syntax (https://github.com/squ1b3r/Djaneiro)
1515
16-
To make this your main Python language definition (in Sublime Text 2):
16+
To make this your main Python language definition (in Sublime Text):
1717
1) Rename Packages/Python/Python.tmLanguage to something else with a different extension (like Python.tmLanguage.backup)
1818
2) Move this file and its README.md to Packages/Python/
1919
3) Search for "<string>PythonImproved</string>" and change it to just say Python (if you want) - this is what is displayed in ST2's various menus
2020
4) Rename this file to Python.tmLanguage (if you want)
21-
21+
Or (probably a better way):
22+
1) Open a .py file.
23+
2) Select View -> Syntax -> PythonImproved
24+
3) Select View -> Syntax -> Open all with current extension as... -> PythonImproved
25+
-->
2226
</string>
2327
<key>fileTypes</key>
2428
<array>

0 commit comments

Comments
 (0)