From 82836bb8116c5b38dc106512446c815643bc9565 Mon Sep 17 00:00:00 2001 From: nfnty Date: Sun, 19 Feb 2017 13:40:57 +0100 Subject: [PATCH] Move comment to right position --- syntax/python.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/syntax/python.vim b/syntax/python.vim index ee2c6b5..afd6a8d 100644 --- a/syntax/python.vim +++ b/syntax/python.vim @@ -70,15 +70,15 @@ 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 pythonException try except finally syn keyword pythonOperator and in is not or syn match pythonStatement '\s*\([.,]\)\@' +" 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 match pythonIdentifier '\v[a-zA-Z_][a-zA-Z0-9_]*' nextgroup=FunctionParameters -syn match pythonRaiseFromStatement 'from\>' +syn match pythonRaiseFromStatement '\' syn match pythonImport '^\s*\zsfrom\>'