mirror of
https://github.com/python/cpython.git
synced 2025-11-27 05:44:16 +00:00
Update the Vim syntax highlight file.
This commit is contained in:
parent
f9ffccea56
commit
c1f5c2f333
2 changed files with 26 additions and 20 deletions
|
|
@ -157,6 +157,11 @@ Build
|
||||||
- Issue #3646: It is now easily possible to install a Python framework into
|
- Issue #3646: It is now easily possible to install a Python framework into
|
||||||
your home directory on MacOSX, see Mac/README for more information.
|
your home directory on MacOSX, see Mac/README for more information.
|
||||||
|
|
||||||
|
Misc
|
||||||
|
----
|
||||||
|
|
||||||
|
- Update the Vim syntax highlight file.
|
||||||
|
|
||||||
|
|
||||||
What's New in Python 2.7 beta 1?
|
What's New in Python 2.7 beta 1?
|
||||||
================================
|
================================
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
" Auto-generated Vim syntax file for Python (trunk: r60376M).
|
" Auto-generated Vim syntax file for Python (trunk: r80490).
|
||||||
"
|
"
|
||||||
" To use: copy or symlink to ~/.vim/syntax/python.vim
|
" To use: copy or symlink to ~/.vim/syntax/python.vim
|
||||||
|
|
||||||
|
|
@ -63,31 +63,32 @@ endif
|
||||||
|
|
||||||
if exists("python_highlight_builtins")
|
if exists("python_highlight_builtins")
|
||||||
syn keyword pythonBuiltin Ellipsis False None NotImplemented True __debug__
|
syn keyword pythonBuiltin Ellipsis False None NotImplemented True __debug__
|
||||||
syn keyword pythonBuiltin __import__ abs all any apply basestring bool
|
syn keyword pythonBuiltin __import__ abs all any apply basestring bin bool
|
||||||
syn keyword pythonBuiltin buffer bytes callable chr classmethod cmp coerce
|
syn keyword pythonBuiltin buffer bytearray bytes callable chr classmethod
|
||||||
syn keyword pythonBuiltin compile complex copyright credits delattr dict
|
syn keyword pythonBuiltin cmp coerce compile complex copyright credits
|
||||||
syn keyword pythonBuiltin dir divmod enumerate eval execfile exit file
|
syn keyword pythonBuiltin delattr dict dir divmod enumerate eval execfile
|
||||||
syn keyword pythonBuiltin filter float frozenset getattr globals hasattr
|
syn keyword pythonBuiltin exit file filter float format frozenset getattr
|
||||||
syn keyword pythonBuiltin hash help hex id input int intern isinstance
|
syn keyword pythonBuiltin globals hasattr hash help hex id input int intern
|
||||||
syn keyword pythonBuiltin issubclass iter len license list locals long map
|
syn keyword pythonBuiltin isinstance issubclass iter len license list
|
||||||
syn keyword pythonBuiltin max min object oct open ord pow property quit
|
syn keyword pythonBuiltin locals long map max memoryview min next object
|
||||||
syn keyword pythonBuiltin range raw_input reduce reload repr reversed round
|
syn keyword pythonBuiltin oct open ord pow print property quit range
|
||||||
syn keyword pythonBuiltin set setattr slice sorted staticmethod str sum
|
syn keyword pythonBuiltin raw_input reduce reload repr reversed round set
|
||||||
syn keyword pythonBuiltin super trunc tuple type unichr unicode vars xrange
|
syn keyword pythonBuiltin setattr slice sorted staticmethod str sum super
|
||||||
syn keyword pythonBuiltin zip
|
syn keyword pythonBuiltin tuple type unichr unicode vars xrange zip
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
if exists("python_highlight_exceptions")
|
if exists("python_highlight_exceptions")
|
||||||
syn keyword pythonException ArithmeticError AssertionError AttributeError
|
syn keyword pythonException ArithmeticError AssertionError AttributeError
|
||||||
syn keyword pythonException BaseException DeprecationWarning EOFError
|
syn keyword pythonException BaseException BufferError BytesWarning
|
||||||
syn keyword pythonException EnvironmentError Exception FloatingPointError
|
syn keyword pythonException DeprecationWarning EOFError EnvironmentError
|
||||||
syn keyword pythonException FutureWarning GeneratorExit IOError ImportError
|
syn keyword pythonException Exception FloatingPointError FutureWarning
|
||||||
syn keyword pythonException ImportWarning IndentationError IndexError
|
syn keyword pythonException GeneratorExit IOError ImportError ImportWarning
|
||||||
syn keyword pythonException KeyError KeyboardInterrupt LookupError
|
syn keyword pythonException IndentationError IndexError KeyError
|
||||||
syn keyword pythonException MemoryError NameError NotImplementedError
|
syn keyword pythonException KeyboardInterrupt LookupError MemoryError
|
||||||
syn keyword pythonException OSError OverflowError PendingDeprecationWarning
|
syn keyword pythonException NameError NotImplementedError OSError
|
||||||
|
syn keyword pythonException OverflowError PendingDeprecationWarning
|
||||||
syn keyword pythonException ReferenceError RuntimeError RuntimeWarning
|
syn keyword pythonException ReferenceError RuntimeError RuntimeWarning
|
||||||
syn keyword pythonException StandardError StopIteration SyntaxError
|
syn keyword pythonException StandardError StopIteration SyntaxError
|
||||||
syn keyword pythonException SyntaxWarning SystemError SystemExit TabError
|
syn keyword pythonException SyntaxWarning SystemError SystemExit TabError
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue