Commit Graph

52 Commits

Author SHA1 Message Date
Michael Doronin
f3bd1e155f Merge branch 'master' of https://github.com/purpleP/python-syntax 2016-11-23 12:26:29 +03:00
Michael Doronin
3422bbab29 addition 2016-11-23 12:22:29 +03:00
Michael Doronin
7d63a53598 highlight yield from as a keyword and await only if it is a keyword 2016-11-23 12:21:03 +03:00
Michael Doronin
3ef357e3ba keyword arguments highlighted inside of builtin object constructors 2016-11-21 16:04:13 +03:00
Michael Doronin
bbed018050 keyword arguments and optional parameters are only highlighted inside
actual function calls and function defenitions
2016-11-19 13:00:07 +03:00
Michael Doronin
bd24b62a3f from is keyword and can't be used otherwised 2016-11-10 10:37:06 +03:00
Michael Doronin
10c3c0ece8 from keyword highlighted only if it is at start of line 2016-10-27 18:56:27 +03:00
Michael Doronin
b8ee3f0444 class variable hightlight 2016-08-15 11:07:34 +03:00
Michael Doronin
8d58bf46f6 moved bytes, bytearray to bultinobj group 2016-08-12 16:30:27 +03:00
Michael Doronin
4523a6d86d faster syntax highlight (or not, can not test it) 2016-07-29 09:35:20 +03:00
Michael Doronin
a35dce769d floats and onther numbers have been added to a list of groups that could be inside function parameters 2016-07-20 17:55:19 +03:00
Michael Doronin
ebcb1ba1e7 object is highlighlted as a type not as a function 2016-07-05 13:30:04 +03:00
Michael Doronin
4370e8853e merge 2016-07-04 19:51:10 +03:00
Michael Doronin
27c4de218b comment have been added to the function parameters group 2016-07-04 18:11:39 +03:00
Michael Doronin
4338cd85f5 conditional and operator group is added to groups contained in
FunctionParameters
2016-06-29 15:09:17 +03:00
Michael Doronin
cf46b81e13 pythonRepeat can be highlighted inside FunctionParameters group 2016-06-29 11:51:28 +03:00
Michael Doronin
d02b79a8cd small bugfix with group that contains zip 2016-06-28 21:22:41 +03:00
Michael Doronin
d61f30a605 pythonRepeat have been added to groups contained in FunctionParameters 2016-06-28 21:03:09 +03:00
Michael Doronin
d404efb776 builtin functions highlighted only if followed by opening brace 2016-06-28 09:35:23 +03:00
Michael Doronin
ac37a4f3b6 function arguments can contain pythonStatement now 2016-06-28 09:23:58 +03:00
Michael Doronin
dbdc8eb2f6 Merge branch 'master' of https://github.com/purpleP/python-syntax 2016-06-28 09:18:37 +03:00
Michael Doronin
a5df8e35d9 import related module attributes added to builtin objects highlighting
group
2016-06-27 23:46:15 +03:00
Michael Doronin
cafb876038 builtin functions highlighted only when used for calls 2016-06-27 17:31:30 +03:00
Michael Doronin
7520bfc22d removed , 2016-06-27 16:44:40 +03:00
Michael Doronin
7eaa930b43 Forgot to add Boolean to the list on groups that FunctionParameters can
contain
2016-06-27 16:43:24 +03:00
Michael Doronin
036effcdf3 disabling highlighting of builtin functions is now really working 2016-06-27 16:29:49 +03:00
Michael Doronin
5881fdc81e vim bultin objects and functions aren't highlighted if they come after
dot
2016-06-27 16:03:36 +03:00
Michael Doronin
cf3c359490 bug with keyword arguments highlighting have been fixed 2016-06-26 17:39:00 +03:00
Michael Doronin
0051cf3adb self and keyword arguments are highlighted now. Also builtin types such
as int, float, str etc highlighted as types ans not as functions
2016-06-25 18:37:11 +03:00
Dmitry Vasiliev
69760cb3ac Update version and last change date 2015-11-01 19:52:45 +01:00
Dmitry Vasiliev
ad932f5242 Update CHANGES/README 2015-11-01 18:58:42 +01:00
Dmitry Vasiliev
652e3687eb Merge branch 'python-include-for-pyrex-vim' 2015-11-01 18:52:28 +01:00
Dmitry Vasiliev
2ed516d569 Update CHANGES/README 2015-11-01 18:41:08 +01:00
Joongi Kim
e4d992dc44 Correct highlighting async function names in Python 3.5 2015-11-01 18:27:15 +09:00
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.)
2015-10-31 19:53:06 -07:00
Dmitry Vasiliev
10d2c07687 Update CHANGES.txt 2015-06-10 21:20:04 +02:00
Ihor Gorobets
4d925a99dd Python 3.5 new syntax sugar
https://www.python.org/dev/peps/pep-0492/
2015-05-27 18:12:08 +03:00
Dmitry Vasiliev
44f1855902 Update python.vim header 2015-03-30 21:46:54 +02:00
Dmitry Vasiliev
716ded1d56 Add GitHub links for most of the contributors 2014-12-27 16:53:15 +01:00
Dmitry Vasiliev
878e75cf90 Highlight non-ASCII decorators only for Python 3 2014-12-27 16:13:08 +01:00
Victor Salgado
9dc6765ad1 Fix decorators to allow the same kind of characters that functions do 2014-12-19 06:47:25 -02:00
Dmitry Vasiliev
453269d0f8 Highlight 'yield from' statement
The 'yield from' statement was introduced in Python 3.3. Reported by
Elizabeth Myers.
2013-11-18 21:29:47 +01:00
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.
2013-08-31 14:28:14 +02:00
Dmitry Vasiliev
21a2e84df6 Update CHANGES.txt 2013-08-31 12:49:35 +02:00
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.
2013-08-24 10:54:06 -07:00
Dmitry Vasiliev
6f6f10ff54 Clean up boolean highlighting 2013-08-11 17:25:39 +02:00
Yuri Habrusiev
a0d21acc1c add pythonBoolean syntax 2013-08-01 17:49:49 +03:00
Dmitry Vasiliev
ebbdd093b7 Revision 3.3.3 2013-06-02 13:52:27 +02:00
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.
2013-06-01 14:53:27 -05:00
Dmitry Vasiliev
e344f212b6 Fix behaviour of b:python_version_2 variable 2013-06-01 17:18:56 +02:00