diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-16 13:11:12 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-16 13:11:12 +0100 |
commit | 3c053a1a5ad2a3c924929e11f2b9af20a8b901e2 (patch) | |
tree | 75889d295e175ede0f7a1812c8b4462172e3be86 /runtime/doc/indent.txt | |
parent | bd053f894b0d7652928201faa68c53d1ce2acdc5 (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/indent.txt')
-rw-r--r-- | runtime/doc/indent.txt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt index 38c173bce2..8cae93ab83 100644 --- a/runtime/doc/indent.txt +++ b/runtime/doc/indent.txt @@ -1,4 +1,4 @@ -*indent.txt* For Vim version 9.0. Last change: 2022 May 21 +*indent.txt* For Vim version 9.0. Last change: 2022 Oct 10 VIM REFERENCE MANUAL by Bram Moolenaar @@ -982,9 +982,12 @@ indentation: > PYTHON *ft-python-indent* -The amount of indent can be set for the following situations. The examples -given are the defaults. Note that the dictionary values are set to an -expression, so that you can change the value of 'shiftwidth' later. +The amount of indent can be set with the `g:python_indent` |Dictionary|, which +needs to be created before adding the items: > + let g:python_indent = {} +The examples given are the defaults. Note that the dictionary values are set +to an expression, so that you can change the value of 'shiftwidth' later +without having to update these values. Indent after an open paren: > let g:python_indent.open_paren = 'shiftwidth() * 2' |