diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-10-17 08:19:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 08:19:48 +0200 |
commit | 9701c9dc9f157c4d09d1783aab9913d05b0d73b1 (patch) | |
tree | dd9b7d788960d5a481e14fb720235f456e691636 /runtime/doc/indent.txt | |
parent | d44f088834081ee404db4459fdcfba82d14ef157 (diff) | |
download | rneovim-9701c9dc9f157c4d09d1783aab9913d05b0d73b1.tar.gz rneovim-9701c9dc9f157c4d09d1783aab9913d05b0d73b1.tar.bz2 rneovim-9701c9dc9f157c4d09d1783aab9913d05b0d73b1.zip |
vim-patch:3c053a1a5ad2 (#20679)
Update runtime files
https://github.com/vim/vim/commit/3c053a1a5ad2a3c924929e11f2b9af20a8b901e2
Diffstat (limited to 'runtime/doc/indent.txt')
-rw-r--r-- | runtime/doc/indent.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt index 5473c7566c..2b86300e7f 100644 --- a/runtime/doc/indent.txt +++ b/runtime/doc/indent.txt @@ -978,9 +978,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' |