Skip to content

Commit 4f9e8d7

Browse files
committed
Fixed compatibility with pyrex.vim
1 parent aa9ec02 commit 4f9e8d7

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

CHANGES.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Revision 3.0.1 (2009-05-03):
2+
3+
- Fixed compatibility with pyrex.vim
4+
15
Revision 3.0.0 (2008-12-07):
26

37
- Added support for non-ASCII identifiers;
@@ -12,6 +16,10 @@ Revision 3.0.0 (2008-12-07):
1216
"execfile", "file", "help", "intern", "long", "raw_input", "reduce",
1317
"reload", "unichr", "unicode", "xrange";
1418

19+
Revision 2.6.4 (2009-05-03):
20+
21+
- Fixed compatibility with pyrex.vim
22+
1523
Revision 2.6.3 (2008-09-29):
1624

1725
- Return back trailing 'L' support for numbers. Actually it was changed for

python.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
" URL: http://www.hlabs.spb.ru/vim/python.vim
55
" Last Change: 2008-09-29
66
" Filenames: *.py
7-
" Version: 2.6.3
7+
" Version: 2.6.4
88
"
99
" Based on python.vim (from Vim 6.1 distribution)
1010
" by Neil Schemenauer <nas@python.ca>
@@ -108,7 +108,7 @@ syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite
108108
syn match pythonFunction "[a-zA-Z_][a-zA-Z0-9_]*" display contained
109109
syn keyword pythonRepeat for while
110110
syn keyword pythonConditional if elif else
111-
syn keyword pythonImport import from as
111+
syn keyword pythonPreCondit import from as
112112
syn keyword pythonException try except finally
113113
syn keyword pythonOperator and in is not or
114114

@@ -295,7 +295,7 @@ if version >= 508 || !exists("did_python_syn_inits")
295295
endif
296296

297297
HiLink pythonStatement Statement
298-
HiLink pythonImport Statement
298+
HiLink pythonPreCondit Statement
299299
HiLink pythonFunction Function
300300
HiLink pythonConditional Conditional
301301
HiLink pythonRepeat Repeat

python3.0.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
" URL: http://www.hlabs.spb.ru/vim/python3.0.vim
55
" Last Change: 2008-12-07
66
" Filenames: *.py
7-
" Version: 3.0.0
7+
" Version: 3.0.1
88
"
99
" Based on python.vim (from Vim 6.1 distribution)
1010
" by Neil Schemenauer <nas@python.ca>
@@ -106,7 +106,7 @@ syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite
106106
syn match pythonFunction "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
107107
syn keyword pythonRepeat for while
108108
syn keyword pythonConditional if elif else
109-
syn keyword pythonImport import from
109+
syn keyword pythonPreCondit import from
110110
syn keyword pythonException try except finally
111111
syn keyword pythonOperator and in is not or
112112

@@ -287,7 +287,7 @@ if version >= 508 || !exists("did_python_syn_inits")
287287
endif
288288

289289
HiLink pythonStatement Statement
290-
HiLink pythonImport Statement
290+
HiLink pythonPreCondit Statement
291291
HiLink pythonFunction Function
292292
HiLink pythonConditional Conditional
293293
HiLink pythonRepeat Repeat

0 commit comments

Comments
 (0)