We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d63a53 commit 3422bbaCopy full SHA for 3422bba
syntax/python.vim
@@ -165,7 +165,7 @@ syn keyword pythonConditional if elif else
165
" we provide a dummy group here to avoid crashing pyrex.vim.
166
syn keyword pythonInclude import
167
syn keyword pythonImport import
168
-syn keyword pythonImport from
+syn match pythonImport "\(yield \)\@<!\<from\>"
169
syn keyword pythonException try except finally
170
syn keyword pythonOperator and in is not or
171
syn match pythonStatement "^\s*yield\>" display
0 commit comments