File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ Revision 3.6.0 (2015-11-XX):
2
+
3
+ - Fix 'async def' highlighting. Patch by Joongi Kim
4
+
1
5
Revision 3.5.0 (2015-06-10):
2
6
3
7
- Add support for 'async ...' and 'await' keywords introduced in
Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ List of the contributors in alphabetical order:
138
138
- `Ihor Gorobets <https://github.com/iho >`_
139
139
- `Jeroen Ruigrok van der Werven <https://github.com/ashemedai >`_
140
140
- `John Eikenberry <https://github.com/eikenb >`_
141
+ - `Joongi Kim <https://github.com/achimnol >`_
141
142
- `Marc Weber <https://github.com/MarcWeber >`_
142
143
- `Pedro Algarvio <https://github.com/s0undt3ch >`_
143
144
- `Victor Salgado <https://github.com/mcsalgado >`_
Original file line number Diff line number Diff line change 31
31
" Ihor Gorobets
32
32
" Jeroen Ruigrok van der Werven
33
33
" John Eikenberry
34
+ " Joongi Kim
34
35
" Marc Weber
35
36
" Pedro Algarvio
36
37
" Victor Salgado
@@ -176,10 +177,9 @@ else
176
177
syn keyword pythonBoolean True False
177
178
syn match pythonFunction " \% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *" display contained
178
179
syn keyword pythonStatement await
179
- syn match pythonStatement " \< async\s\+ def\> " display
180
+ syn match pythonStatement " \< async\s\+ def\> " nextgroup = pythonFunction skipwhite
180
181
syn match pythonStatement " \< async\s\+ with\> " display
181
182
syn match pythonStatement " \< async\s\+ for\> " display
182
- syn match pythonStatement " \< async\s\+ with\> " display
183
183
endif
184
184
185
185
"
Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ class Classname
18
18
def функция
19
19
class Класс
20
20
21
+ await
22
+ async def Test
23
+ async with
24
+ async for
25
+
21
26
# Builtin objects.
22
27
23
28
True False Ellipsis None NotImplemented
You can’t perform that action at this time.
0 commit comments