|
@@ -4,7 +4,7 @@
|
4
|
4
|
" URL: http://www.hlabs.spb.ru/vim/python3.0.vim
|
5
|
5
|
" Last Change: 2008-12-07
|
6
|
6
|
" Filenames: *.py
|
7
|
|
-" Version: 3.0.0
|
|
7
|
+" Version: 3.0.1
|
8
|
8
|
"
|
9
|
9
|
" Based on python.vim (from Vim 6.1 distribution)
|
10
|
10
|
" by Neil Schemenauer <nas@python.ca>
|
|
@@ -106,7 +106,7 @@ syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite
|
106
|
106
|
syn match pythonFunction "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
|
107
|
107
|
syn keyword pythonRepeat for while
|
108
|
108
|
syn keyword pythonConditional if elif else
|
109
|
|
-syn keyword pythonImport import from
|
|
109
|
+syn keyword pythonPreCondit import from
|
110
|
110
|
syn keyword pythonException try except finally
|
111
|
111
|
syn keyword pythonOperator and in is not or
|
112
|
112
|
|
|
@@ -287,7 +287,7 @@ if version >= 508 || !exists("did_python_syn_inits")
|
287
|
287
|
endif
|
288
|
288
|
|
289
|
289
|
HiLink pythonStatement Statement
|
290
|
|
- HiLink pythonImport Statement
|
|
290
|
+ HiLink pythonPreCondit Statement
|
291
|
291
|
HiLink pythonFunction Function
|
292
|
292
|
HiLink pythonConditional Conditional
|
293
|
293
|
HiLink pythonRepeat Repeat
|