mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
Add documentation for disable_char_avail_for_testing, handpicked from
6463ca229c
7823a3bd2e
This commit is contained in:

committed by
Justin M. Keyes

parent
11fd965554
commit
3d73956b96
@@ -1838,6 +1838,7 @@ dictwatcherdel( {dict}, {pattern}, {callback})
|
|||||||
did_filetype() Number TRUE if FileType autocommand event used
|
did_filetype() Number TRUE if FileType autocommand event used
|
||||||
diff_filler( {lnum}) Number diff filler lines about {lnum}
|
diff_filler( {lnum}) Number diff filler lines about {lnum}
|
||||||
diff_hlID( {lnum}, {col}) Number diff highlighting at {lnum}/{col}
|
diff_hlID( {lnum}, {col}) Number diff highlighting at {lnum}/{col}
|
||||||
|
disable_char_avail_for_testing({expr}) none test without typeahead
|
||||||
empty( {expr}) Number TRUE if {expr} is empty
|
empty( {expr}) Number TRUE if {expr} is empty
|
||||||
escape( {string}, {chars}) String escape {chars} in {string} with '\'
|
escape( {string}, {chars}) String escape {chars} in {string} with '\'
|
||||||
eval( {string}) any evaluate {string} into its value
|
eval( {string}) any evaluate {string} into its value
|
||||||
@@ -2853,6 +2854,13 @@ diff_hlID({lnum}, {col}) *diff_hlID()*
|
|||||||
The highlight ID can be used with |synIDattr()| to obtain
|
The highlight ID can be used with |synIDattr()| to obtain
|
||||||
syntax information about the highlighting.
|
syntax information about the highlighting.
|
||||||
|
|
||||||
|
disable_char_avail_for_testing({expr})
|
||||||
|
When {expr} is 1 the internal char_avail() function will
|
||||||
|
return FALSE. When {expr} is 0 the char_avail() function will
|
||||||
|
function normally.
|
||||||
|
Only use this for a test where typeahead causes the test not
|
||||||
|
to work. E.g., to trigger the CursorMovedI autocommand event.
|
||||||
|
|
||||||
empty({expr}) *empty()*
|
empty({expr}) *empty()*
|
||||||
Return the Number 1 if {expr} is empty, zero otherwise.
|
Return the Number 1 if {expr} is empty, zero otherwise.
|
||||||
A |List| or |Dictionary| is empty when it does not have any
|
A |List| or |Dictionary| is empty when it does not have any
|
||||||
|
Reference in New Issue
Block a user