Mercurial > vim
comparison runtime/doc/indent.txt @ 15932:c3c1abe7aff2
Update runtime files
commit https://github.com/vim/vim/commit/f6b401090e816b4216f783a9b85d21d9ad134ff8
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 22 15:24:03 2019 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 22 Feb 2019 15:30:07 +0100 |
parents | fe57e4f0eac1 |
children | 2704c4e3e20a |
comparison
equal
deleted
inserted
replaced
15931:4ea49caf396d | 15932:c3c1abe7aff2 |
---|---|
1 *indent.txt* For Vim version 8.1. Last change: 2019 Jan 31 | 1 *indent.txt* For Vim version 8.1. Last change: 2019 Feb 21 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
946 The method uses |searchpair()| to look back for unclosed parenthesis. This | 946 The method uses |searchpair()| to look back for unclosed parenthesis. This |
947 can sometimes be slow, thus it timeouts after 150 msec. If you notice the | 947 can sometimes be slow, thus it timeouts after 150 msec. If you notice the |
948 indenting isn't correct, you can set a larger timeout in msec: > | 948 indenting isn't correct, you can set a larger timeout in msec: > |
949 let g:pyindent_searchpair_timeout = 500 | 949 let g:pyindent_searchpair_timeout = 500 |
950 | 950 |
951 If looking back for unclosed parenthesis is still too slow, especially during | |
952 a copy-paste operation, or if you don't need indenting inside multi-line | |
953 parentheses, you can completely disable this feature: > | |
954 let g:pyindent_disable_parentheses_indenting = 1 | |
955 | |
951 | 956 |
952 R *ft-r-indent* | 957 R *ft-r-indent* |
953 | 958 |
954 Function arguments are aligned if they span for multiple lines. If you prefer | 959 Function arguments are aligned if they span for multiple lines. If you prefer |
955 do not have the arguments of functions aligned, put in your |vimrc|: | 960 do not have the arguments of functions aligned, put in your |vimrc|: |