Skip to content

Commit 652e368

Browse files
committed
Merge branch 'python-include-for-pyrex-vim'
2 parents 299d33b + 67b6d85 commit 652e368

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
@@ -158,6 +158,9 @@ syn keyword pythonStatement with
158158
syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite
159159
syn keyword pythonRepeat for while
160160
syn keyword pythonConditional if elif else
161+
" The standard pyrex.vim unconditionally removes the pythonInclude group, so
162+
" we provide a dummy group here to avoid crashing pyrex.vim.
163+
syn keyword pythonInclude import
161164
syn keyword pythonImport import
162165
syn keyword pythonException try except finally
163166
syn keyword pythonOperator and in is not or

0 commit comments

Comments
 (0)