Skip to content

Commit a8e5577

Browse files
committed
docs: Fix list items
1 parent 3c615fb commit a8e5577

File tree

2 files changed

+39
-38
lines changed

2 files changed

+39
-38
lines changed

README.rst

+22-21
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,25 @@ This is an enhanced version of the original Python syntax highlighting script. B
99
Features
1010
--------
1111

12-
- Added support for Python 3 syntax highlighting
13-
- Added commands ``Python2Syntax`` and ``Python3Syntax`` commands which allow to switch
12+
* Added support for Python 3 syntax highlighting
13+
* Added commands ``Python2Syntax`` and ``Python3Syntax`` commands which allow to switch
1414
between Python 2 and Python 3 syntaxes respectively without reloads/restarts
15-
- Updated string highlighting
16-
- Enhanced special symbols highlighting inside strings
17-
- Enhanced highlighting of numeric constants
18-
- Added optional highlighting for %-formatting inside strings
19-
- Added highlighting for magic comments: source code encoding and #! (executable) strings
20-
- Added highlighting for new exceptions and builtins
21-
- Added highlighting for doctests
22-
- Added highlighting for new ``@decorator`` syntax introduced in Python 2.4a2
23-
- Added highlighting for the following errors:
24-
- Invalid symbols in source file
25-
- Mixing spaces and tabs
26-
- Invalid numeric constants
27-
- Invalid %-formatting inside strings
28-
- Invalid variable names
29-
- Trailing spaces (triggered by the ``python_highlight_space_errors`` option)
15+
* Updated string highlighting
16+
* Enhanced special symbols highlighting inside strings
17+
* Enhanced highlighting of numeric constants
18+
* Added optional highlighting for %-formatting inside strings
19+
* Added highlighting for magic comments: source code encoding and #! (executable) strings
20+
* Added highlighting for new exceptions and builtins
21+
* Added highlighting for doctests
22+
* Added highlighting for new ``@decorator`` syntax introduced in Python 2.4a2
23+
* Added highlighting for the following errors:
24+
25+
* Invalid symbols in source file
26+
* Mixing spaces and tabs
27+
* Invalid numeric constants
28+
* Invalid %-formatting inside strings
29+
* Invalid variable names
30+
* Trailing spaces (triggered by the ``python_highlight_space_errors`` option)
3031

3132
Folding is done by the plugin `SimpylFold <https://github.com/tmhedberg/SimpylFold>`_.
3233

@@ -35,10 +36,10 @@ How to install
3536

3637
Use one of the following plugin managers:
3738

38-
- `dein <https://github.com/Shougo/dein.vim>`_
39-
- `vim-plug <https://github.com/junegunn/vim-plug>`_
40-
- `vundle <https://github.com/VundleVim/Vundle.vim>`_
41-
- `pathogen <https://github.com/tpope/vim-pathogen>`_
39+
* `dein <https://github.com/Shougo/dein.vim>`_
40+
* `vim-plug <https://github.com/junegunn/vim-plug>`_
41+
* `vundle <https://github.com/VundleVim/Vundle.vim>`_
42+
* `pathogen <https://github.com/tpope/vim-pathogen>`_
4243

4344
Or you can just manually place `syntax/python.vim
4445
<https://github.com/vim-python/python-syntax/blob/master/syntax/python.vim>`_

doc/python-syntax.txt

+17-17
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ This is an enhanced version of the original Python syntax highlighting script. B
99
Features
1010
--------
1111

12-
- Added support for Python 3 syntax highlighting
13-
- Added commands `Python2Syntax` and `Python3Syntax` commands which allow to switch
12+
* Added support for Python 3 syntax highlighting
13+
* Added commands `Python2Syntax` and `Python3Syntax` commands which allow to switch
1414
between Python 2 and Python 3 syntaxes respectively without reloads/restarts
15-
- Updated string highlighting
16-
- Enhanced special symbols highlighting inside strings
17-
- Enhanced highlighting of numeric constants
18-
- Added optional highlighting for %-formatting inside strings
19-
- Added highlighting for magic comments: source code encoding and #! (executable) strings
20-
- Added highlighting for new exceptions and builtins
21-
- Added highlighting for doctests
22-
- Added highlighting for new `@decorator` syntax introduced in Python 2.4a2
23-
- Added highlighting for the following errors:
24-
- Invalid symbols in source file
25-
- Mixing spaces and tabs
26-
- Invalid numeric constants
27-
- Invalid %-formatting inside strings
28-
- Invalid variable names
29-
- Trailing spaces (triggered by the `python_highlight_space_errors` option)
15+
* Updated string highlighting
16+
* Enhanced special symbols highlighting inside strings
17+
* Enhanced highlighting of numeric constants
18+
* Added optional highlighting for %-formatting inside strings
19+
* Added highlighting for magic comments: source code encoding and #! (executable) strings
20+
* Added highlighting for new exceptions and builtins
21+
* Added highlighting for doctests
22+
* Added highlighting for new `@decorator` syntax introduced in Python 2.4a2
23+
* Added highlighting for the following errors:
24+
* Invalid symbols in source file
25+
* Mixing spaces and tabs
26+
* Invalid numeric constants
27+
* Invalid %-formatting inside strings
28+
* Invalid variable names
29+
* Trailing spaces (triggered by the `python_highlight_space_errors` option)
3030

3131
Folding is done by the plugin `SimpylFold` (`https://github.com/tmhedberg/SimpylFold`)
3232

0 commit comments

Comments
 (0)