diff options
author | Jonas Strittmatter <40792180+smjonas@users.noreply.github.com> | 2022-08-12 10:21:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-12 10:21:50 +0200 |
commit | 1cf3a4b4095913ff9a241c07294af74e573eed54 (patch) | |
tree | de425d547a56f95f670854e301862fbc1ad104fb | |
parent | 02289ab898575368eeaa234bbd78725f8463044c (diff) | |
download | rneovim-1cf3a4b4095913ff9a241c07294af74e573eed54.tar.gz rneovim-1cf3a4b4095913ff9a241c07294af74e573eed54.tar.bz2 rneovim-1cf3a4b4095913ff9a241c07294af74e573eed54.zip |
docs: clarify that cursorline will be disabled before command preview (#19710)
-rw-r--r-- | runtime/doc/map.txt | 3 |
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) |