diff --git a/CHANGES.txt b/CHANGES.txt index b2db744..fae61b0 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,7 @@ +Revision 3.0.1 (2009-05-03): + + - Fixed compatibility with pyrex.vim + Revision 3.0.0 (2008-12-07): - 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", "reload", "unichr", "unicode", "xrange"; +Revision 2.6.4 (2009-05-03): + + - Fixed compatibility with pyrex.vim + Revision 2.6.3 (2008-09-29): - Return back trailing 'L' support for numbers. Actually it was changed for diff --git a/python.vim b/python.vim index 3f739af..a9924cc 100644 --- a/python.vim +++ b/python.vim @@ -4,7 +4,7 @@ " URL: http://www.hlabs.spb.ru/vim/python.vim " Last Change: 2008-09-29 " Filenames: *.py -" Version: 2.6.3 +" Version: 2.6.4 " " Based on python.vim (from Vim 6.1 distribution) " by Neil Schemenauer @@ -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 keyword pythonRepeat for while 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 pythonOperator and in is not or @@ -295,7 +295,7 @@ if version >= 508 || !exists("did_python_syn_inits") endif HiLink pythonStatement Statement - HiLink pythonImport Statement + HiLink pythonPreCondit Statement HiLink pythonFunction Function HiLink pythonConditional Conditional HiLink pythonRepeat Repeat diff --git a/python3.0.vim b/python3.0.vim index 75d23f4..60c9eb0 100644 --- a/python3.0.vim +++ b/python3.0.vim @@ -4,7 +4,7 @@ " URL: http://www.hlabs.spb.ru/vim/python3.0.vim " Last Change: 2008-12-07 " Filenames: *.py -" Version: 3.0.0 +" Version: 3.0.1 " " Based on python.vim (from Vim 6.1 distribution) " by Neil Schemenauer @@ -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 keyword pythonRepeat for while syn keyword pythonConditional if elif else -syn keyword pythonImport import from +syn keyword pythonPreCondit import from syn keyword pythonException try except finally syn keyword pythonOperator and in is not or @@ -287,7 +287,7 @@ if version >= 508 || !exists("did_python_syn_inits") endif HiLink pythonStatement Statement - HiLink pythonImport Statement + HiLink pythonPreCondit Statement HiLink pythonFunction Function HiLink pythonConditional Conditional HiLink pythonRepeat Repeat