Fixed compatibility with pyrex.vim

This commit is contained in:
Dmitry Vasiliev
2009-05-03 19:22:39 +04:00
parent aa9ec02c33
commit 4f9e8d7c0f
3 changed files with 14 additions and 6 deletions

View File

@@ -1,3 +1,7 @@
Revision 3.0.1 (2009-05-03):
- Fixed compatibility with pyrex.vim
Revision 3.0.0 (2008-12-07): Revision 3.0.0 (2008-12-07):
- Added support for non-ASCII identifiers; - Added support for non-ASCII identifiers;
@@ -12,6 +16,10 @@ Revision 3.0.0 (2008-12-07):
"execfile", "file", "help", "intern", "long", "raw_input", "reduce", "execfile", "file", "help", "intern", "long", "raw_input", "reduce",
"reload", "unichr", "unicode", "xrange"; "reload", "unichr", "unicode", "xrange";
Revision 2.6.4 (2009-05-03):
- Fixed compatibility with pyrex.vim
Revision 2.6.3 (2008-09-29): Revision 2.6.3 (2008-09-29):
- Return back trailing 'L' support for numbers. Actually it was changed for - Return back trailing 'L' support for numbers. Actually it was changed for

View File

@@ -4,7 +4,7 @@
" URL: http://www.hlabs.spb.ru/vim/python.vim " URL: http://www.hlabs.spb.ru/vim/python.vim
" Last Change: 2008-09-29 " Last Change: 2008-09-29
" Filenames: *.py " Filenames: *.py
" Version: 2.6.3 " Version: 2.6.4
" "
" Based on python.vim (from Vim 6.1 distribution) " Based on python.vim (from Vim 6.1 distribution)
" by Neil Schemenauer <nas@python.ca> " by Neil Schemenauer <nas@python.ca>
@@ -108,7 +108,7 @@ syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite
syn match pythonFunction "[a-zA-Z_][a-zA-Z0-9_]*" display contained syn match pythonFunction "[a-zA-Z_][a-zA-Z0-9_]*" display contained
syn keyword pythonRepeat for while syn keyword pythonRepeat for while
syn keyword pythonConditional if elif else syn keyword pythonConditional if elif else
syn keyword pythonImport import from as syn keyword pythonPreCondit import from as
syn keyword pythonException try except finally syn keyword pythonException try except finally
syn keyword pythonOperator and in is not or syn keyword pythonOperator and in is not or
@@ -295,7 +295,7 @@ if version >= 508 || !exists("did_python_syn_inits")
endif endif
HiLink pythonStatement Statement HiLink pythonStatement Statement
HiLink pythonImport Statement HiLink pythonPreCondit Statement
HiLink pythonFunction Function HiLink pythonFunction Function
HiLink pythonConditional Conditional HiLink pythonConditional Conditional
HiLink pythonRepeat Repeat HiLink pythonRepeat Repeat

View File

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