aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/map.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index b0ce2d4164..00e5cc6e27 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -1452,6 +1452,9 @@ Incremental preview ~
Commands can show an 'inccommand' (as-you-type) preview by defining a preview
handler (only from Lua, see |nvim_create_user_command()|).
+Before the preview callback is executed, Nvim will temporarily disable
+'cursorline' and 'cursorcolumn' to avoid highlighting issues.
+
The preview callback must be a Lua function with this signature: >
function cmdpreview(opts, ns, buf)