Joongi Kim
31f669d00d
Improve builtin-func highlighting
* Make them highlighted only when used as in the global namespace. (e.g., `id` in `something.id` is not highlighted)
* Also add self and cls to builtin objects
il y a 7 ans
Joongi Kim
67c13cffa5
Merge remote-tracking branch 'lilydjwg/master'
il y a 7 ans
lilydjwg
738e118831
support for async keyword
il y a 8 ans
lilydjwg
af6a8275a5
Merge "narrow decorator match to exclude matrix multiplication"
https://github.com/hdima/python-syntax/pull/47
il y a 8 ans
lilydjwg
9bd9cbca8b
Merge "Mark None as Python builtin object along with True and False"
https://github.com/hdima/python-syntax/pull/53
il y a 8 ans
lilydjwg
8692c37f91
Merge "Add support for Python 3.6 f-string literal and underscore in numbers."
https://github.com/hdima/python-syntax/pull/60
il y a 8 ans
Joongi Kim
eb44ea7304
Fix pythonNumberError patterns to exclude legitimate identifiers.
* "_0" is a valid identifier!
il y a 8 ans
Joongi Kim
e07541aa59
Add support for Python 3.6 f-string literal and underscore in numbers.
il y a 8 ans
Alois Mahdal
60a7b5c3d2
Mark None as Python builtin object along with True and False
More specifically, they are "built-in constants":
https://docs.python.org/2/library/constants.html#built-in-consts
il y a 9 ans
Jan Hermann
ddbd84e7b8
More efficient regex
il y a 8 ans
Jan Hermann
84f5cf9ce6
narrow decorator match to exclude matrix multiplication
il y a 9 ans
Dmitry Vasiliev
69760cb3ac
Update version and last change date
il y a 9 ans
Dmitry Vasiliev
d02a048f73
Merge branch 'dummy_python_include_group'
il y a 9 ans
Dmitry Vasiliev
ad932f5242
Update CHANGES/README
il y a 9 ans
Dmitry Vasiliev
652e3687eb
Merge branch 'python-include-for-pyrex-vim'
il y a 9 ans
Dmitry Vasiliev
299d33b745
Merge branch 'async_def_fix'
il y a 9 ans
Dmitry Vasiliev
2ed516d569
Update CHANGES/README
il y a 9 ans
Joongi Kim
e4d992dc44
Correct highlighting async function names in Python 3.5
il y a 9 ans
Antony Lee
67b6d85258
Dummy pythonInclude group to keep pyrex.vim happy.
(I don't know how to create an empty group so I just put back "import" into
it.)
il y a 9 ans
Dmitry Vasiliev
10d2c07687
Update CHANGES.txt
il y a 9 ans
Dmitry Vasiliev
d948f835b4
Update TODO item
il y a 9 ans
Ihor Gorobets
4d925a99dd
Python 3.5 new syntax sugar
https://www.python.org/dev/peps/pep-0492/
il y a 9 ans
Dmitry Vasiliev
44f1855902
Update python.vim header
il y a 9 ans
Dmitry Vasiliev
716ded1d56
Add GitHub links for most of the contributors
il y a 10 ans
Dmitry Vasiliev
878e75cf90
Highlight non-ASCII decorators only for Python 3
il y a 10 ans
Dmitry Vasiliev
9209dd0c02
Merge https://github.com/mcsalgado/python-syntax
il y a 10 ans
Dmitry Vasiliev
ea215a9085
Add the MIT license
il y a 10 ans
Victor Salgado
9dc6765ad1
Fix decorators to allow the same kind of characters that functions do
il y a 10 ans
Dmitry Vasiliev
453269d0f8
Highlight 'yield from' statement
The 'yield from' statement was introduced in Python 3.3. Reported by
Elizabeth Myers.
il y a 11 ans
Dmitry Vasiliev
efe8499cfb
Add TODO item
il y a 11 ans
Dmitry Vasiliev
69f8e12a46
Add new option 'python_highlight_file_headers_as_comments'
The option is disabled by default and when enabled highlight shebang and
coding file headers as comments instead of special characters.
il y a 11 ans
Dmitry Vasiliev
21a2e84df6
Update CHANGES.txt
il y a 11 ans
pydave
9ccbd6196b
Make imports look like includes
Imports work like includes so they should use the relevant group-name.
I also renamed pythonPreCondit to pythonImport since it's specific to
that type of "preprocessor" statement.
il y a 11 ans
Dmitry Vasiliev
6f6f10ff54
Clean up boolean highlighting
il y a 11 ans
Yuri Habrusiev
a0d21acc1c
add pythonBoolean syntax
il y a 11 ans
Dmitry Vasiliev
ebbdd093b7
Revision 3.3.3
il y a 11 ans
Will Gray
fc6a66bf80
Reload local syntax only
Turning syntax off and back on is more than what's necessary to reload the syntax for the current buffer.
il y a 11 ans
Dmitry Vasiliev
e344f212b6
Fix behaviour of b:python_version_2 variable
il y a 11 ans
Dmitry Vasiliev
91eaa32bea
Update CHANGES.txt
il y a 11 ans
Dmitry Vasiliev
2860070a9d
Update script version
il y a 11 ans
Dmitry Vasiliev
40456e7708
Add README file
il y a 11 ans
Dmitry Vasiliev
16f0987559
Move python.vim into syntax directory
il y a 11 ans
Dmitry Vasilev
325c3a50ce
Merge python.vim and python3.0.vim into python.vim
Merge Python 3 and Python 3 script versions into
the single python.vim script
il y a 11 ans
Dmitry Vasiliev
ee72907cf8
Updated email and URL for all scripts
il y a 12 ans
Dmitry Vasiliev
f2fd6dd30b
Rename/move py_folding to python/folding-ideas
il y a 12 ans
Dmitry Vasiliev
c8113a7a4f
Added TODO item
il y a 14 ans
Dmitry Vasiliev
f259b31b50
Fixes for str.format syntax highlighting
il y a 14 ans
Dmitry Vasiliev
6f89b1c2de
Done TODO item
il y a 14 ans
Dmitry Vasiliev
9f7d4af442
Fixed highlighting for bytes and numbers
il y a 14 ans
Dmitry Vasiliev
607f75e613
Forgot to add author of the patch
il y a 14 ans