mirror of
https://github.com/neovim/neovim.git
synced 2025-10-22 17:11:49 +00:00
doc: State that it is called for new *displayed* input
This commit is contained in:
@@ -4744,13 +4744,14 @@ input({opts})
|
|||||||
sections must be ordered so that next hl_start_col is greater
|
sections must be ordered so that next hl_start_col is greater
|
||||||
then or equal to previous hl_end_col.
|
then or equal to previous hl_end_col.
|
||||||
|
|
||||||
Highlight function is called at least once for each new input
|
Highlight function is called at least once for each new
|
||||||
string, before command-line is redrawn. It is expected that
|
displayed input string, before command-line is redrawn. It is
|
||||||
function is pure for the duration of one input() call, i.e. it
|
expected that function is pure for the duration of one input()
|
||||||
produces the same output for the same input, so output may be
|
call, i.e. it produces the same output for the same input, so
|
||||||
memoized. Function is run like under |:silent| modifier,
|
output may be memoized. Function is run like under |:silent|
|
||||||
additionally any errors from function cause it to be no longer
|
modifier, additionally any errors from function cause it to be
|
||||||
executed for the duration of the current input() call.
|
no longer executed for the duration of the current input()
|
||||||
|
call.
|
||||||
|
|
||||||
Currently coloring is disabled when command-line contains
|
Currently coloring is disabled when command-line contains
|
||||||
arabic characters.
|
arabic characters.
|
||||||
|
Reference in New Issue
Block a user