Merge branch 'dummy_python_include_group'

This commit is contained in:
Dmitry Vasiliev
2015-11-01 18:58:53 +01:00
3 changed files with 7 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
Revision 3.6.0 (2015-11-XX): Revision 3.6.0 (2015-11-XX):
- Fix 'async def' highlighting. Patch by Joongi Kim - Fix 'async def' highlighting. Patch by Joongi Kim
- Add dummy 'pythonInclude' group to avoid crashing standard pyrex.vim.
Patch by Antony Lee
Revision 3.5.0 (2015-06-10): Revision 3.5.0 (2015-06-10):

View File

@@ -132,6 +132,7 @@ List of the contributors in alphabetical order:
- `Andrea Riciputi <https://github.com/mrrech>`_ - `Andrea Riciputi <https://github.com/mrrech>`_
- Anton Butanaev - Anton Butanaev
- `Antony Lee <https://github.com/anntzer>`_
- Caleb Adamantine - Caleb Adamantine
- `David Briscoe <https://github.com/idbrii>`_ - `David Briscoe <https://github.com/idbrii>`_
- `Elizabeth Myers <https://github.com/Elizafox>`_ - `Elizabeth Myers <https://github.com/Elizafox>`_

View File

@@ -25,6 +25,7 @@
" "
" Andrea Riciputi " Andrea Riciputi
" Anton Butanaev " Anton Butanaev
" Antony Lee
" Caleb Adamantine " Caleb Adamantine
" David Briscoe " David Briscoe
" Elizabeth Myers " Elizabeth Myers
@@ -158,6 +159,9 @@ syn keyword pythonStatement with
syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite
syn keyword pythonRepeat for while syn keyword pythonRepeat for while
syn keyword pythonConditional if elif else syn keyword pythonConditional if elif else
" The standard pyrex.vim unconditionally removes the pythonInclude group, so
" we provide a dummy group here to avoid crashing pyrex.vim.
syn keyword pythonInclude import
syn keyword pythonImport import syn keyword pythonImport import
syn keyword pythonException try except finally syn keyword pythonException try except finally
syn keyword pythonOperator and in is not or syn keyword pythonOperator and in is not or