Skip to content

Commit 3422bba

Browse files
author
Michael Doronin
committed
addition
1 parent 7d63a53 commit 3422bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/python.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ syn keyword pythonConditional if elif else
165165
" we provide a dummy group here to avoid crashing pyrex.vim.
166166
syn keyword pythonInclude import
167167
syn keyword pythonImport import
168-
syn keyword pythonImport from
168+
syn match pythonImport "\(yield \)\@<!\<from\>"
169169
syn keyword pythonException try except finally
170170
syn keyword pythonOperator and in is not or
171171
syn match pythonStatement "^\s*yield\>" display

0 commit comments

Comments
 (0)