mirror of
https://github.com/neovim/neovim.git
synced 2026-04-21 06:45:37 +00:00
docs: clarify that cursorline will be disabled before command preview (#19710)
This commit is contained in:
committed by
GitHub
parent
02289ab898
commit
1cf3a4b409
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user