mirror of
https://github.com/vim-python/python-syntax.git
synced 2025-12-08 05:34:46 +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
|
||||
--------
|
||||
|
||||
- Added support for Python 3 syntax highlighting
|
||||
- Added commands ``Python2Syntax`` and ``Python3Syntax`` commands which allow to switch
|
||||
* Added support for Python 3 syntax highlighting
|
||||
* Added commands ``Python2Syntax`` and ``Python3Syntax`` commands which allow to switch
|
||||
between Python 2 and Python 3 syntaxes respectively without reloads/restarts
|
||||
- Updated string highlighting
|
||||
- Enhanced special symbols highlighting inside strings
|
||||
- Enhanced highlighting of numeric constants
|
||||
- Added optional highlighting for %-formatting inside strings
|
||||
- Added highlighting for magic comments: source code encoding and #! (executable) strings
|
||||
- Added highlighting for new exceptions and builtins
|
||||
- Added highlighting for doctests
|
||||
- Added highlighting for new ``@decorator`` syntax introduced in Python 2.4a2
|
||||
- Added highlighting for the following errors:
|
||||
- Invalid symbols in source file
|
||||
- Mixing spaces and tabs
|
||||
- Invalid numeric constants
|
||||
- Invalid %-formatting inside strings
|
||||
- Invalid variable names
|
||||
- Trailing spaces (triggered by the ``python_highlight_space_errors`` option)
|
||||
* Updated string highlighting
|
||||
* Enhanced special symbols highlighting inside strings
|
||||
* Enhanced highlighting of numeric constants
|
||||
* Added optional highlighting for %-formatting inside strings
|
||||
* Added highlighting for magic comments: source code encoding and #! (executable) strings
|
||||
* Added highlighting for new exceptions and builtins
|
||||
* Added highlighting for doctests
|
||||
* Added highlighting for new ``@decorator`` syntax introduced in Python 2.4a2
|
||||
* Added highlighting for the following errors:
|
||||
|
||||
* Invalid symbols in source file
|
||||
* Mixing spaces and tabs
|
||||
* Invalid numeric constants
|
||||
* Invalid %-formatting inside strings
|
||||
* 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>`_.
|
||||
|
||||
@@ -35,10 +36,10 @@ How to install
|
||||
|
||||
Use one of the following plugin managers:
|
||||
|
||||
- `dein <https://github.com/Shougo/dein.vim>`_
|
||||
- `vim-plug <https://github.com/junegunn/vim-plug>`_
|
||||
- `vundle <https://github.com/VundleVim/Vundle.vim>`_
|
||||
- `pathogen <https://github.com/tpope/vim-pathogen>`_
|
||||
* `dein <https://github.com/Shougo/dein.vim>`_
|
||||
* `vim-plug <https://github.com/junegunn/vim-plug>`_
|
||||
* `vundle <https://github.com/VundleVim/Vundle.vim>`_
|
||||
* `pathogen <https://github.com/tpope/vim-pathogen>`_
|
||||
|
||||
Or you can just manually place `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
|
||||
--------
|
||||
|
||||
- Added support for Python 3 syntax highlighting
|
||||
- Added commands `Python2Syntax` and `Python3Syntax` commands which allow to switch
|
||||
* Added support for Python 3 syntax highlighting
|
||||
* Added commands `Python2Syntax` and `Python3Syntax` commands which allow to switch
|
||||
between Python 2 and Python 3 syntaxes respectively without reloads/restarts
|
||||
- Updated string highlighting
|
||||
- Enhanced special symbols highlighting inside strings
|
||||
- Enhanced highlighting of numeric constants
|
||||
- Added optional highlighting for %-formatting inside strings
|
||||
- Added highlighting for magic comments: source code encoding and #! (executable) strings
|
||||
- Added highlighting for new exceptions and builtins
|
||||
- Added highlighting for doctests
|
||||
- Added highlighting for new `@decorator` syntax introduced in Python 2.4a2
|
||||
- Added highlighting for the following errors:
|
||||
- Invalid symbols in source file
|
||||
- Mixing spaces and tabs
|
||||
- Invalid numeric constants
|
||||
- Invalid %-formatting inside strings
|
||||
- Invalid variable names
|
||||
- Trailing spaces (triggered by the `python_highlight_space_errors` option)
|
||||
* Updated string highlighting
|
||||
* Enhanced special symbols highlighting inside strings
|
||||
* Enhanced highlighting of numeric constants
|
||||
* Added optional highlighting for %-formatting inside strings
|
||||
* Added highlighting for magic comments: source code encoding and #! (executable) strings
|
||||
* Added highlighting for new exceptions and builtins
|
||||
* Added highlighting for doctests
|
||||
* Added highlighting for new `@decorator` syntax introduced in Python 2.4a2
|
||||
* Added highlighting for the following errors:
|
||||
* Invalid symbols in source file
|
||||
* Mixing spaces and tabs
|
||||
* Invalid numeric constants
|
||||
* Invalid %-formatting inside strings
|
||||
* 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`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user