mirror of
https://github.com/vim-python/python-syntax.git
synced 2025-12-08 13:44:48 +08:00
docs: Update Features list formatting
This commit is contained in:
28
README.md
28
README.md
@@ -7,26 +7,26 @@ This is an enhanced version of the original Vim 6.1 Python syntax highlighting
|
|||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
|
|
||||||
* Added support for Python 3 syntax highlighting, including 3.6 f-strings
|
* Enhanced highlighting for:
|
||||||
and numbers with underscores
|
* Strings
|
||||||
* Added commands `Python2Syntax` and `Python3Syntax` allowing to easily switch
|
* Special symbols inside strings
|
||||||
between Python 2 and Python 3
|
* Numeric constants
|
||||||
* Updated string highlighting
|
* Added support for:
|
||||||
* Enhanced special symbols highlighting inside strings
|
* Python 3
|
||||||
* Enhanced highlighting of numeric constants
|
* Numbers with underscores
|
||||||
* Added optional highlighting for %-formatting inside strings
|
* String %-formatting and f-strings
|
||||||
* Added highlighting for magic comments: source code encoding and
|
* Magic comments: source code encoding and shebangs
|
||||||
shebangs (`#!`)
|
* New exceptions and builtins
|
||||||
* Added highlighting for new exceptions and builtins
|
* Doctests
|
||||||
* Added highlighting for doctests
|
* `@decorator` syntax
|
||||||
* Added highlighting for new `@decorator` syntax introduced in Python 2.4a2
|
* Highlighting of 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 (Enabled with `g:python_highlight_space_errors`)
|
* Trailing spaces (Enabled with `g:python_highlight_space_errors`)
|
||||||
|
* Commands for easy switching between versions
|
||||||
|
|
||||||
Folding is done by the plugin [SimpylFold](https://github.com/tmhedberg/SimpylFold).
|
Folding is done by the plugin [SimpylFold](https://github.com/tmhedberg/SimpylFold).
|
||||||
|
|
||||||
|
|||||||
@@ -9,26 +9,26 @@ This is an enhanced version of the original Vim 6.1 Python syntax highlighting
|
|||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
|
|
||||||
* Added support for Python 3 syntax highlighting, including 3.6 f-strings
|
* Enhanced highlighting for:
|
||||||
and numbers with underscores
|
* Strings
|
||||||
* Added commands `Python2Syntax` and `Python3Syntax` allowing to easily switch
|
* Special symbols inside strings
|
||||||
between Python 2 and Python 3
|
* Numeric constants
|
||||||
* Updated string highlighting
|
* Added support for:
|
||||||
* Enhanced special symbols highlighting inside strings
|
* Python 3
|
||||||
* Enhanced highlighting of numeric constants
|
* Numbers with underscores
|
||||||
* Added optional highlighting for %-formatting inside strings
|
* String %-formatting and f-strings
|
||||||
* Added highlighting for magic comments: source code encoding and
|
* Magic comments: source code encoding and shebangs
|
||||||
shebangs (`#!`)
|
* New exceptions and builtins
|
||||||
* Added highlighting for new exceptions and builtins
|
* Doctests
|
||||||
* Added highlighting for doctests
|
* `@decorator` syntax
|
||||||
* Added highlighting for new `@decorator` syntax introduced in Python 2.4a2
|
* Highlighting of 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 (Enabled with `g:python_highlight_space_errors`)
|
* Trailing spaces (Enabled with `g:python_highlight_space_errors`)
|
||||||
|
* Commands for easy switching between versions
|
||||||
|
|
||||||
Folding is done by the plugin SimpylFold
|
Folding is done by the plugin SimpylFold
|
||||||
(https://github.com/tmhedberg/SimpylFold).
|
(https://github.com/tmhedberg/SimpylFold).
|
||||||
|
|||||||
Reference in New Issue
Block a user