diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-02-27 15:49:53 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-02-27 15:49:53 +0000 |
commit | dd60c365cd2630794be84d63c4fe287124a30b97 (patch) | |
tree | 560fe950798f2987865d532ebe0e06e60b78f3cc /runtime/doc/syntax.txt | |
parent | 341f3876b34f47fdb1c82b0ad9bae448be73a220 (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r-- | runtime/doc/syntax.txt | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index eed82f1e84..d624e4d468 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 9.0. Last change: 2023 Feb 20 +*syntax.txt* For Vim version 9.0. Last change: 2023 Feb 26 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2791,17 +2791,25 @@ For highlighted doctests and code inside: > :let python_no_doctest_highlight = 1 or > :let python_no_doctest_code_highlight = 1 -(first option implies second one). +The first option implies the second one. For highlighted trailing whitespace and mix of spaces and tabs: > :let python_space_error_highlight = 1 -If you want all possible Python highlighting (the same as setting the -preceding last option and unsetting all other ones): > +If you want all possible Python highlighting: :let python_highlight_all = 1 +This has the same effect as setting python_space_error_highlight and +unsetting all the other ones. + +If you use Python 2 or straddling code (Python 2 and 3 compatible), +you can enforce the use of an older syntax file with support for +Python 2 and up to Python 3.5. + : let python_use_python2_syntax = 1 +This option will exclude all modern Python 3.6 or higher features. + +Note: Only existence of these options matters, not their value. + You can replace 1 above with anything. -Note: Only existence of these options matter, not their value. You can replace - 1 above with anything. QUAKE *quake.vim* *ft-quake-syntax* @@ -5370,7 +5378,7 @@ ColorColumn Used for the columns set with 'colorcolumn'. *hl-Conceal* Conceal Placeholder characters substituted for concealed text (see 'conceallevel'). - *hl-Cursor* + *hl-Cursor* *hl-lCursor* Cursor Character under the cursor. lCursor Character under the cursor when |language-mapping| is used (see 'guicursor'). |