Skip to content

Commit 67b6d85

Browse files
committed
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.)
1 parent 10d2c07 commit 67b6d85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

syntax/python.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ syn keyword pythonStatement with
157157
syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite
158158
syn keyword pythonRepeat for while
159159
syn keyword pythonConditional if elif else
160+
" The standard pyrex.vim unconditionally removes the pythonInclude group, so
161+
" we provide a dummy group here to avoid crashing pyrex.vim.
162+
syn keyword pythonInclude import
160163
syn keyword pythonImport import
161164
syn keyword pythonException try except finally
162165
syn keyword pythonOperator and in is not or

0 commit comments

Comments
 (0)