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:
Antony Lee
2015-10-31 19:53:06 -07:00
parent 10d2c07687
commit 67b6d85258

View File

@@ -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