|
1 | | -*syntax.txt* For Vim version 9.0. Last change: 2023 Feb 20 |
| 1 | +*syntax.txt* For Vim version 9.0. Last change: 2023 Feb 26 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -2791,17 +2791,25 @@ For highlighted doctests and code inside: > |
2791 | 2791 | :let python_no_doctest_highlight = 1 |
2792 | 2792 | or > |
2793 | 2793 | :let python_no_doctest_code_highlight = 1 |
2794 | | -(first option implies second one). |
| 2794 | +The first option implies the second one. |
2795 | 2795 |
|
2796 | 2796 | For highlighted trailing whitespace and mix of spaces and tabs: > |
2797 | 2797 | :let python_space_error_highlight = 1 |
2798 | 2798 |
|
2799 | | -If you want all possible Python highlighting (the same as setting the |
2800 | | -preceding last option and unsetting all other ones): > |
| 2799 | +If you want all possible Python highlighting: |
2801 | 2800 | :let python_highlight_all = 1 |
| 2801 | +This has the same effect as setting python_space_error_highlight and |
| 2802 | +unsetting all the other ones. |
| 2803 | + |
| 2804 | +If you use Python 2 or straddling code (Python 2 and 3 compatible), |
| 2805 | +you can enforce the use of an older syntax file with support for |
| 2806 | +Python 2 and up to Python 3.5. |
| 2807 | + : let python_use_python2_syntax = 1 |
| 2808 | +This option will exclude all modern Python 3.6 or higher features. |
| 2809 | + |
| 2810 | +Note: Only existence of these options matters, not their value. |
| 2811 | + You can replace 1 above with anything. |
2802 | 2812 |
|
2803 | | -Note: Only existence of these options matter, not their value. You can replace |
2804 | | - 1 above with anything. |
2805 | 2813 |
|
2806 | 2814 | QUAKE *quake.vim* *ft-quake-syntax* |
2807 | 2815 |
|
@@ -5370,7 +5378,7 @@ ColorColumn Used for the columns set with 'colorcolumn'. |
5370 | 5378 | *hl-Conceal* |
5371 | 5379 | Conceal Placeholder characters substituted for concealed |
5372 | 5380 | text (see 'conceallevel'). |
5373 | | - *hl-Cursor* |
| 5381 | + *hl-Cursor* *hl-lCursor* |
5374 | 5382 | Cursor Character under the cursor. |
5375 | 5383 | lCursor Character under the cursor when |language-mapping| |
5376 | 5384 | is used (see 'guicursor'). |
|
0 commit comments