mirror of
https://github.com/vim-python/python-syntax.git
synced 2026-01-26 04:46:58 +08:00
docs: Fix list items
This commit is contained in:
43
README.rst
43
README.rst
@@ -9,24 +9,25 @@ This is an enhanced version of the original Python syntax highlighting script. B
|
|||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
|
|
||||||
- Added support for Python 3 syntax highlighting
|
* Added support for Python 3 syntax highlighting
|
||||||
- Added commands ``Python2Syntax`` and ``Python3Syntax`` commands which allow to switch
|
* Added commands ``Python2Syntax`` and ``Python3Syntax`` commands which allow to switch
|
||||||
between Python 2 and Python 3 syntaxes respectively without reloads/restarts
|
between Python 2 and Python 3 syntaxes respectively without reloads/restarts
|
||||||
- Updated string highlighting
|
* Updated string highlighting
|
||||||
- Enhanced special symbols highlighting inside strings
|
* Enhanced special symbols highlighting inside strings
|
||||||
- Enhanced highlighting of numeric constants
|
* Enhanced highlighting of numeric constants
|
||||||
- Added optional highlighting for %-formatting inside strings
|
* Added optional highlighting for %-formatting inside strings
|
||||||
- Added highlighting for magic comments: source code encoding and #! (executable) strings
|
* Added highlighting for magic comments: source code encoding and #! (executable) strings
|
||||||
- Added highlighting for new exceptions and builtins
|
* Added highlighting for new exceptions and builtins
|
||||||
- Added highlighting for doctests
|
* Added highlighting for doctests
|
||||||
- Added highlighting for new ``@decorator`` syntax introduced in Python 2.4a2
|
* Added highlighting for new ``@decorator`` syntax introduced in Python 2.4a2
|
||||||
- Added highlighting for the following errors:
|
* Added highlighting for the following errors:
|
||||||
- Invalid symbols in source file
|
|
||||||
- Mixing spaces and tabs
|
* Invalid symbols in source file
|
||||||
- Invalid numeric constants
|
* Mixing spaces and tabs
|
||||||
- Invalid %-formatting inside strings
|
* Invalid numeric constants
|
||||||
- Invalid variable names
|
* Invalid %-formatting inside strings
|
||||||
- Trailing spaces (triggered by the ``python_highlight_space_errors`` option)
|
* Invalid variable names
|
||||||
|
* Trailing spaces (triggered by the ``python_highlight_space_errors`` option)
|
||||||
|
|
||||||
Folding is done by the plugin `SimpylFold <https://github.com/tmhedberg/SimpylFold>`_.
|
Folding is done by the plugin `SimpylFold <https://github.com/tmhedberg/SimpylFold>`_.
|
||||||
|
|
||||||
@@ -35,10 +36,10 @@ How to install
|
|||||||
|
|
||||||
Use one of the following plugin managers:
|
Use one of the following plugin managers:
|
||||||
|
|
||||||
- `dein <https://github.com/Shougo/dein.vim>`_
|
* `dein <https://github.com/Shougo/dein.vim>`_
|
||||||
- `vim-plug <https://github.com/junegunn/vim-plug>`_
|
* `vim-plug <https://github.com/junegunn/vim-plug>`_
|
||||||
- `vundle <https://github.com/VundleVim/Vundle.vim>`_
|
* `vundle <https://github.com/VundleVim/Vundle.vim>`_
|
||||||
- `pathogen <https://github.com/tpope/vim-pathogen>`_
|
* `pathogen <https://github.com/tpope/vim-pathogen>`_
|
||||||
|
|
||||||
Or you can just manually place `syntax/python.vim
|
Or you can just manually place `syntax/python.vim
|
||||||
<https://github.com/vim-python/python-syntax/blob/master/syntax/python.vim>`_
|
<https://github.com/vim-python/python-syntax/blob/master/syntax/python.vim>`_
|
||||||
|
|||||||
@@ -9,24 +9,24 @@ This is an enhanced version of the original Python syntax highlighting script. B
|
|||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
|
|
||||||
- Added support for Python 3 syntax highlighting
|
* Added support for Python 3 syntax highlighting
|
||||||
- Added commands `Python2Syntax` and `Python3Syntax` commands which allow to switch
|
* Added commands `Python2Syntax` and `Python3Syntax` commands which allow to switch
|
||||||
between Python 2 and Python 3 syntaxes respectively without reloads/restarts
|
between Python 2 and Python 3 syntaxes respectively without reloads/restarts
|
||||||
- Updated string highlighting
|
* Updated string highlighting
|
||||||
- Enhanced special symbols highlighting inside strings
|
* Enhanced special symbols highlighting inside strings
|
||||||
- Enhanced highlighting of numeric constants
|
* Enhanced highlighting of numeric constants
|
||||||
- Added optional highlighting for %-formatting inside strings
|
* Added optional highlighting for %-formatting inside strings
|
||||||
- Added highlighting for magic comments: source code encoding and #! (executable) strings
|
* Added highlighting for magic comments: source code encoding and #! (executable) strings
|
||||||
- Added highlighting for new exceptions and builtins
|
* Added highlighting for new exceptions and builtins
|
||||||
- Added highlighting for doctests
|
* Added highlighting for doctests
|
||||||
- Added highlighting for new `@decorator` syntax introduced in Python 2.4a2
|
* Added highlighting for new `@decorator` syntax introduced in Python 2.4a2
|
||||||
- Added highlighting for the following errors:
|
* Added highlighting for the following errors:
|
||||||
- Invalid symbols in source file
|
* Invalid symbols in source file
|
||||||
- Mixing spaces and tabs
|
* Mixing spaces and tabs
|
||||||
- Invalid numeric constants
|
* Invalid numeric constants
|
||||||
- Invalid %-formatting inside strings
|
* Invalid %-formatting inside strings
|
||||||
- Invalid variable names
|
* Invalid variable names
|
||||||
- Trailing spaces (triggered by the `python_highlight_space_errors` option)
|
* Trailing spaces (triggered by the `python_highlight_space_errors` option)
|
||||||
|
|
||||||
Folding is done by the plugin `SimpylFold` (`https://github.com/tmhedberg/SimpylFold`)
|
Folding is done by the plugin `SimpylFold` (`https://github.com/tmhedberg/SimpylFold`)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user