aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-11-15 09:12:47 +0100
committerGitHub <noreply@github.com>2016-11-15 09:12:47 +0100
commit01ef6fc3d2ac5102fc4e1ee3c0d27643bdfdb775 (patch)
tree7420ddb5b932719716cc09dd254fa6fc0e8babaf /runtime
parent0c799a8f10b345236efca08f51ffece0e1d1e85d (diff)
parent35231312d785e4fd1f534e573a43f5a9a4a0fe8f (diff)
downloadrneovim-01ef6fc3d2ac5102fc4e1ee3c0d27643bdfdb775.tar.gz
rneovim-01ef6fc3d2ac5102fc4e1ee3c0d27643bdfdb775.tar.bz2
rneovim-01ef6fc3d2ac5102fc4e1ee3c0d27643bdfdb775.zip
Merge #5607 from justinmk/icm
'inccommand': auto-disable if too slow; fix other behaviors
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index d13a245d87..1789f73aa9 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -3418,6 +3418,9 @@ A jump table for the options with a short description can be found at |Q_op|.
Works for |:substitute|, |:smagic|, |:snomagic|. |hl-Substitute|
+ If the preview is too slow (exceeds 'redrawtime') then 'inccommand' is
+ automatically disabled until |Command-line-mode| is done.
+
*'include'* *'inc'*
'include' 'inc' string (default "^\s*#\s*include")
global or local to buffer |global-local|
@@ -4733,8 +4736,8 @@ A jump table for the options with a short description can be found at |Q_op|.
global
{only available when compiled with the |+reltime|
feature}
- The time in milliseconds for redrawing the display. This applies to
- searching for patterns for 'hlsearch' and |:match| highlighting.
+ Time in milliseconds for redrawing the display. Applies to
+ 'hlsearch', 'inccommand' and |:match| highlighting.
When redrawing takes more than this many milliseconds no further
matches will be highlighted. This is used to avoid that Vim hangs
when using a very complicated pattern.