File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -165,11 +165,11 @@ syn keyword pythonConditional if elif else
165165" we provide a dummy group here to avoid crashing pyrex.vim.
166166syn keyword pythonInclude import
167167syn keyword pythonImport import
168+ syn keyword pythonImport from
168169syn keyword pythonException try except finally
169170syn keyword pythonOperator and in is not or
170171
171172syn match pythonStatement " ^\s *yield\> " display
172- syn match pythonImport " ^\s *from\> " display
173173
174174if s: Python2Syntax ()
175175 if ! s: Enabled (" g:python_print_as_function" )
@@ -195,6 +195,7 @@ syn region FunctionParameters start='(' end=')' display contains=
195195 \ pythonClassVaraible,
196196 \ pythonConditional,
197197 \ pythonComment,
198+ \ pythonImport,
198199 \ pythonOperator,
199200 \ pythonNumber,
200201 \ pythonNumberError,
You can’t perform that action at this time.
0 commit comments