From 67b6d85258890862372bb3cf7c58a9776d52c3de Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Sat, 31 Oct 2015 19:53:06 -0700 Subject: [PATCH] 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.) --- syntax/python.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/syntax/python.vim b/syntax/python.vim index e461241..4c5615f 100644 --- a/syntax/python.vim +++ b/syntax/python.vim @@ -157,6 +157,9 @@ syn keyword pythonStatement with syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite syn keyword pythonRepeat for while 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 pythonException try except finally syn keyword pythonOperator and in is not or