mirror of
https://github.com/gryf/python-syntax.git
synced 2025-12-17 11:30:27 +01:00
Merge branch 'async_def_fix'
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
Revision 3.6.0 (2015-11-XX):
|
||||||
|
|
||||||
|
- Fix 'async def' highlighting. Patch by Joongi Kim
|
||||||
|
|
||||||
Revision 3.5.0 (2015-06-10):
|
Revision 3.5.0 (2015-06-10):
|
||||||
|
|
||||||
- Add support for 'async ...' and 'await' keywords introduced in
|
- Add support for 'async ...' and 'await' keywords introduced in
|
||||||
|
|||||||
@@ -138,6 +138,7 @@ List of the contributors in alphabetical order:
|
|||||||
- `Ihor Gorobets <https://github.com/iho>`_
|
- `Ihor Gorobets <https://github.com/iho>`_
|
||||||
- `Jeroen Ruigrok van der Werven <https://github.com/ashemedai>`_
|
- `Jeroen Ruigrok van der Werven <https://github.com/ashemedai>`_
|
||||||
- `John Eikenberry <https://github.com/eikenb>`_
|
- `John Eikenberry <https://github.com/eikenb>`_
|
||||||
|
- `Joongi Kim <https://github.com/achimnol>`_
|
||||||
- `Marc Weber <https://github.com/MarcWeber>`_
|
- `Marc Weber <https://github.com/MarcWeber>`_
|
||||||
- `Pedro Algarvio <https://github.com/s0undt3ch>`_
|
- `Pedro Algarvio <https://github.com/s0undt3ch>`_
|
||||||
- `Victor Salgado <https://github.com/mcsalgado>`_
|
- `Victor Salgado <https://github.com/mcsalgado>`_
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
" Ihor Gorobets
|
" Ihor Gorobets
|
||||||
" Jeroen Ruigrok van der Werven
|
" Jeroen Ruigrok van der Werven
|
||||||
" John Eikenberry
|
" John Eikenberry
|
||||||
|
" Joongi Kim
|
||||||
" Marc Weber
|
" Marc Weber
|
||||||
" Pedro Algarvio
|
" Pedro Algarvio
|
||||||
" Victor Salgado
|
" Victor Salgado
|
||||||
@@ -176,10 +177,9 @@ else
|
|||||||
syn keyword pythonBoolean True False
|
syn keyword pythonBoolean True False
|
||||||
syn match pythonFunction "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
|
syn match pythonFunction "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
|
||||||
syn keyword pythonStatement await
|
syn keyword pythonStatement await
|
||||||
syn match pythonStatement "\<async\s\+def\>" display
|
syn match pythonStatement "\<async\s\+def\>" nextgroup=pythonFunction skipwhite
|
||||||
syn match pythonStatement "\<async\s\+with\>" display
|
syn match pythonStatement "\<async\s\+with\>" display
|
||||||
syn match pythonStatement "\<async\s\+for\>" display
|
syn match pythonStatement "\<async\s\+for\>" display
|
||||||
syn match pythonStatement "\<async\s\+with\>" display
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user