Skip to content

Commit 3e37fc8

Browse files
author
Matt Morrison
committed
works with Py2 and 3, updated Django link to 1.7
1 parent 4f82bcd commit 3e37fc8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Python Improved
22

3-
A better Python `.tmLanguage` syntax highlighting definition for [Sublime Text](http://www.sublimetext.com) and [TextMate](http://www.macromates.com). Inspired by:
3+
A better Python `.tmLanguage` syntax highlighting definition for [Sublime Text](http://www.sublimetext.com) and [TextMate](http://www.macromates.com). It includes support for both Python 2 and Python 3. Inspired by:
44

55
- the original TextMate and Sublime Text `Python.tmLanguage` files
66
- facelessuser's [Better Python](https://github.com/facelessuser/sublime-languages)
77
- Djaniero's [Django syntax](https://github.com/squ1b3r/Djaneiro)
8-
- Peter Varo's [Python 3](https://github.com/petervaro/python) `.tmLanguage`
8+
- Peter Varo's [Python 3](https://github.com/petervaro/python) syntax definition
99

10-
as well as a number of my own changes to make things more consistent and understandable. For customized syntax highlighting taking advantage of all the new scopes, use PythonImproved with the [Neon Color Scheme](https://sublime.wbond.net/packages/Neon%20Color%20Scheme), or modify your own favorite theme with the scopes below.
10+
as well as a number of my own changes to make things more consistent and understandable. For customized syntax highlighting taking advantage of all the new scopes, use PythonImproved with the [Neon Color Scheme](https://sublime.wbond.net/packages/Neon%20Color%20Scheme), or modify your own favorite color scheme with the scopes below.
1111

1212
## Installation and Use
1313

@@ -23,7 +23,7 @@ If you prefer to modify your own color scheme, here is a list of new/modified sc
2323
- [Django](http://www.djangoproject.com)-specific:
2424
- `support.type.django.model`: `(meta|models).` `DecimalField`, `EmailField`, `ForeignKey`, `ManyToManyField`, etc.
2525
- `support.other.django.module`: `django`, `django.contrib`, etc.
26-
- `variable.other.django.settings`: [`settings.py`](https://docs.djangoproject.com/en/1.6/ref/settings/) options like `ADMINS`, `DATABASES`, `INSTALLED_APPS`, `MIDDLEWARE_CLASSES`, etc. Should be complete as of Django 1.7.
26+
- `variable.other.django.settings`: [`settings.py`](https://docs.djangoproject.com/en/1.7/ref/settings/) options like `ADMINS`, `DATABASES`, `INSTALLED_APPS`, `MIDDLEWARE_CLASSES`, etc. Should be complete as of Django 1.7.
2727
- `support.function.django.view`: view functions `get_list_or_404`, `get_object_or_404`, `load_and_render`, `loader`, `render_to_response`, `render`
2828
- `support.function.django.model`: model functions `get_object`, `get_list`, `get_count`, etc.
2929
- `constant.numeric.integer.(long).binary.python`: binary literals `0b00101010`, `0b00101010L`

0 commit comments

Comments
 (0)