mirror of
https://github.com/vim-python/python-syntax.git
synced 2025-12-08 13:44:48 +08:00
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.)
This commit is contained in:
@@ -157,6 +157,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
|
||||||
|
|||||||
Reference in New Issue
Block a user