CHANGES.txt 7.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. Revision 3.6.0 (2015-11-XX):
  2. - Fix 'async def' highlighting. Patch by Joongi Kim
  3. - Add dummy 'pythonInclude' group to avoid crashing standard pyrex.vim.
  4. Patch by Antony Lee
  5. Revision 3.5.0 (2015-06-10):
  6. - Add support for 'async ...' and 'await' keywords introduced in
  7. Python 3.5. Patch by Ihor Gorobets
  8. Revision 3.3.7 (2014-12-27):
  9. - Add support for Python 3 non-ASCII decorator names.
  10. Patch by Victor Salgado
  11. Revision 3.3.6 (2013-11-18):
  12. - Highlight 'yield from' statement introduced in Python 3.3. Reported by
  13. Elizabeth Myers.
  14. Revision 3.3.5 (2013-08-31):
  15. - Highlight 'import', 'from' and 'as' as include statements.
  16. Patch by David Briscoe
  17. - Added new option 'python_highlight_file_headers_as_comments' (disabled by
  18. default) to highlight shebang and coding file headers as comments.
  19. Proposed by David Briscoe.
  20. Revision 3.3.4 (2013-08-11):
  21. - Highlight True and False as booleans. Patch by Yuri Habrusiev.
  22. Revision 3.3.3 (2013-06-02):
  23. - More lightweight syntax reloading. Patch by Will Gray.
  24. Revision 3.3.2 (2013-06-01):
  25. - Fixed behaviour of b:python_version_2 variable. Reported by Will Gray.
  26. Revision 3.3.1 (2013-05-12):
  27. - The script was moved to its own repository at
  28. https://github.com/hdima/python-syntax
  29. Revision 3.3.0 (2013-03-10):
  30. - Merge Python 2 and Python 3 script versions into the single python.vim
  31. script
  32. Revision 3.0.7 (2012-02-11):
  33. - Updated email and URL
  34. Revision 2.6.7 (2012-02-11):
  35. - Updated email and URL
  36. Revision 3.0.6 (2010-11-14):
  37. - Fixed highlighting for str.format syntax. Patch by Anton Butanaev.
  38. Revision 3.0.5 (2010-11-11):
  39. - Fixed highlighting for bytes. Patch by Anton Butanaev.
  40. - Fixed highlighting for numbers.
  41. Revision 3.0.4 (2010-11-09):
  42. - Fixed highlighting for raw bytes literals. Patch by Anton Butanaev.
  43. Revision 3.0.3 (2010-04-09):
  44. - Applied patch by Andrea Riciputi with new configuration options
  45. "python_highlight_builtin_objs" and "python_highlight_builtin_funcs"
  46. Revision 3.0.2 (2009-07-24):
  47. - Applied patch by Caleb Adamantine which fixes highlighting for decorators
  48. Revision 3.0.1 (2009-05-03):
  49. - Fixed compatibility with pyrex.vim
  50. Revision 3.0.0 (2008-12-07):
  51. - Added support for non-ASCII identifiers;
  52. - Added support for new text strings and binary data (bytes);
  53. - Updated support for numeric literals;
  54. - Updated support for str.format;
  55. - Added new builtins introduced in Python 2.6: "ascii", "exec",
  56. "memoryview", "print";
  57. - Added new keyword "nonlocal";
  58. - Removed exception "StandardError";
  59. - Removed builtins: "apply", "basestring", "buffer", "callable", "coerce",
  60. "execfile", "file", "help", "intern", "long", "raw_input", "reduce",
  61. "reload", "unichr", "unicode", "xrange";
  62. Revision 2.6.6 (2010-04-09):
  63. - Applied patch by Andrea Riciputi with new configuration options
  64. "python_highlight_builtin_objs" and "python_highlight_builtin_funcs"
  65. Revision 2.6.5 (2009-07-24):
  66. - Applied patch by Caleb Adamantine which fixes highlighting for decorators
  67. Revision 2.6.4 (2009-05-03):
  68. - Fixed compatibility with pyrex.vim
  69. Revision 2.6.3 (2008-09-29):
  70. - Return back trailing 'L' support for numbers. Actually it was changed for
  71. future Python 3.0 syntax but in wrong file;
  72. Revision 2.6.2 (2008-09-22):
  73. - Added "VMSError" exception;
  74. - Added support for b"..." syntax;
  75. - Added support for str.format brace escaping;
  76. Revision 2.6.1 (2008-09-21):
  77. - Added new builtins and exceptions introduced in Python 2.6: "bin",
  78. "bytearray", "bytes", "format", "next", "BufferError", "BytesWarning";
  79. - Added builtin "__debug__";
  80. - Added global variables: "__doc__", "__file__", "__name__", "__package__";
  81. - Removed "OverflowWarning" (removed in Python 2.5);
  82. - Added option "python_print_as_function" for highlight "print" as a
  83. function;
  84. - Added support for new integer literal syntax "0o" and "0b";
  85. - Added support for string.Template syntax controlled by
  86. "python_highlight_string_templates" option;
  87. - Added support for str.format syntax controlled by
  88. "python_highlight_string_format" option;
  89. - Removed highlighting for "--" and "++" because it's a valid Python
  90. expressions which can be interpreted as "a + +b";
  91. Revision 2.5.6 (2007-02-04):
  92. - Applied patch by Pedro Algarvio to enable spell checking only for
  93. the right spots (strings and comments);
  94. Revision 2.5.5 (2006-09-26):
  95. - added new warnings (ImportWarning, UnicodeWarning)
  96. introduced in Python 2.5;
  97. Revision 2.5.4 (2006-05-11):
  98. - added highlighting for erroneous operators: &&, ||, ++, --, ===
  99. (inspired by http://www.vim.org/tips/tip.php?tip_id=969, thanks
  100. Jeroen Ruigrok van der Werven for the link);
  101. - added highlighting for new 'with' statement and 'BaseException',
  102. 'GeneratorExit' exceptions introduced in Python 2.5;
  103. - added highlighting for 'OverflowWarning' exception which had been
  104. forgotten;
  105. - returned more robust recognition for function names;
  106. Revision 2.5.3:
  107. - fixed %-formatting highlighting for raw unicode strings;
  108. Revision 2.5.2:
  109. - slightly simplified option handling;
  110. - fixed regexp for indentation errors;
  111. - fixed highlighting for backslashed symbols inside strings;
  112. - added highlighting for trailing-space errors (triggered by new
  113. option: python_highlight_space_errors);
  114. - added highlighting for variable name errors;
  115. - added highlighting for hex number errors;
  116. Revision 2.5.1 (2005-03-13):
  117. - added new builtins 'all' and 'any' (Python 2.5a0)
  118. Revision 2.4.2 (2004-08-05):
  119. - added highlighting for new @decorator syntax introduced in python 2.4a2
  120. Revision 2.4.1 (2004-03-17):
  121. - new versioning scheme (based on python version numbers);
  122. - added highlighting for new types/builtins introduced in python 2.4
  123. (set, frozenset, reversed, sorted);
  124. - new option added: python_slow_sync (set this for slow but more
  125. robust syntax synchronization);
  126. - added highlighting for doctests;
  127. Revision 1.19:
  128. - new option added: python_highlight_indent_errors;
  129. - python_highlight_all now not override previously set options,
  130. for example code:
  131. let python_highlight_indent_errors = 0
  132. let python_highlight_all = 1
  133. set all highlight options except indentation errors highlighting option;
  134. Revision 1.17:
  135. - changed header, "Based on..." string added;
  136. Revision 1.16:
  137. - added basestring builtin;
  138. Revision 1.15 (first public revision).
  139. The changes since the original (vim6.1) python.vim are:
  140. - changed string highlighting;
  141. - enhanced special symbols highlighting inside strings;
  142. - enhanced constant numbers highlighting;
  143. - added optional highlighting for %-formatting inside strings;
  144. - added highlighting for error conditions (wrong symbols in source file,
  145. mixing spaces and tabs, wrong number values,
  146. wrong %-formatting inside strings);
  147. - added highlighting for magic comments: source code encoding
  148. and #! (executable) strings;
  149. - added highlighting for new exceptions and builtins introduced
  150. in python 2.3;