Skip to content

Commit 419a539

Browse files
author
fishsouprecipe
committed
Added 'mcs' next to 'self' and 'cls'
1 parent 22ea943 commit 419a539

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Features
1919
* New exceptions and builtins
2020
* Doctests
2121
* `@decorator` syntax
22-
* Class variables such as `self` and `cls`
22+
* Class variables such as `self`, `cls` and `mcs`
2323
* Operators
2424
* Highlighting of the following errors:
2525
* Invalid symbols in source file
@@ -72,7 +72,7 @@ let g:python_highlight_all = 1
7272
| `g:python_highlight_space_errors` | Highlight trailing spaces | `0` |
7373
| `g:python_highlight_doctests` | Highlight doc-tests | `0` |
7474
| `g:python_highlight_func_calls` | Highlight functions calls | `0` |
75-
| `g:python_highlight_class_vars` | Highlight class variables `self` and `cls` | `0` |
75+
| `g:python_highlight_class_vars` | Highlight class variables `self`, `cls` and `mcs` | `0` |
7676
| `g:python_highlight_operators` | Highlight all operators | `0` |
7777
| `g:python_highlight_all` | Enable all highlight options above, except for previously set. | `0` |
7878
| `g:python_highlight_file_headers_as_comments` | Highlight shebang and coding headers as comments | `0` |

doc/python-syntax.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Features
2121
* New exceptions and builtins
2222
* Doctests
2323
* `@decorator` syntax
24-
* Class variables such as `self` and `cls`
24+
* Class variables such as `self`, `cls` and `mcs`
2525
* Operators
2626
* Highlighting of the following errors:
2727
* Invalid symbols in source file
@@ -96,7 +96,7 @@ following command to your `~/.config/nvim/init.vim` or `~/.vimrc`: >
9696
Highlight functions calls
9797

9898
`g:python_highlight_class_vars` (default `0`)
99-
Highlight class variables `self` and `cls`
99+
Highlight class variables `self`, `cls` and `mcs`
100100

101101
`g:python_highlight_operators` (default `0`)
102102
Highlight all operators

0 commit comments

Comments
 (0)