Skip to content

Commit 82836bb

Browse files
committed
Move comment to right position
1 parent 0832414 commit 82836bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

syntax/python.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ syn keyword pythonStatement with
7070
syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite
7171
syn keyword pythonRepeat for while
7272
syn keyword pythonConditional if elif else
73-
" The standard pyrex.vim unconditionally removes the pythonInclude group, so
74-
" we provide a dummy group here to avoid crashing pyrex.vim.
7573
syn keyword pythonException try except finally
7674
syn keyword pythonOperator and in is not or
7775
syn match pythonStatement '\s*\([.,]\)\@<!\<yield\>'
76+
" The standard pyrex.vim unconditionally removes the pythonInclude group, so
77+
" we provide a dummy group here to avoid crashing pyrex.vim.
7878
syn keyword pythonInclude import
7979
syn keyword pythonImport import
8080
syn match pythonIdentifier '\v[a-zA-Z_][a-zA-Z0-9_]*' nextgroup=FunctionParameters
81-
syn match pythonRaiseFromStatement 'from\>'
81+
syn match pythonRaiseFromStatement '\<from\>'
8282
syn match pythonImport '^\s*\zsfrom\>'
8383

8484

0 commit comments

Comments
 (0)