summaryrefslogtreecommitdiffstats
path: root/runtime/doc/indent.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-10-19 16:22:31 +0200
committerBram Moolenaar <Bram@vim.org>2018-10-19 16:22:31 +0200
commit2c64ca1802b2c99b16d2fdf581b68b5baffb082a (patch)
treeaa6937d8f3704d98c6a5246e87e612b767104d22 /runtime/doc/indent.txt
parent04c86d27fed5757ae40246d7bb3fdcd0c1959468 (diff)
Update runtime files
Diffstat (limited to 'runtime/doc/indent.txt')
-rw-r--r--runtime/doc/indent.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt
index b1f44b7d79..a8d59e370c 100644
--- a/runtime/doc/indent.txt
+++ b/runtime/doc/indent.txt
@@ -941,6 +941,11 @@ Indent after a nested paren: >
Indent for a continuation line: >
let g:pyindent_continue = '&sw * 2'
+The method uses searchpair() to look back for unclosed parenthesis. This can
+sometimes be slow, thus it timeouts after 150 msec. If you notice the
+indenting isn't correct, you can set a larger timeout in msec: >
+ let g:pyindent_searchpair_timeout = 500
+
R *ft-r-indent*