aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-04-26 23:29:55 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-04-26 23:32:01 -0400
commite4146dd7df0f1ba932a01a79d6dd511914763c72 (patch)
tree4edd1dad482dd469403318913f0fdcabe5c5ef01 /runtime
parent0d6fe73d7b4dbba5bcea4559896c92f9c7e3f10a (diff)
downloadrneovim-e4146dd7df0f1ba932a01a79d6dd511914763c72.tar.gz
rneovim-e4146dd7df0f1ba932a01a79d6dd511914763c72.tar.bz2
rneovim-e4146dd7df0f1ba932a01a79d6dd511914763c72.zip
remove disable_char_avail_for_testing()
test_cursor_func.vim hangs at the call to disable_char_avail_for_testing(). The test does not actually need this function (and it correctly fails if the fix from 7.4.1300 is reverted). Given that disable_char_avail_for_testing is a gigantic hack, if we can avoid it let's do so.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 2fd0c5a34a..933c4decee 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1839,7 +1839,6 @@ dictwatcherdel( {dict}, {pattern}, {callback})
did_filetype() Number TRUE if FileType autocommand event used
diff_filler( {lnum}) Number diff filler lines about {lnum}
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
escape( {string}, {chars}) String escape {chars} in {string} with '\'
eval( {string}) any evaluate {string} into its value
@@ -2868,13 +2867,6 @@ diff_hlID({lnum}, {col}) *diff_hlID()*
The highlight ID can be used with |synIDattr()| to obtain
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()*
Return the Number 1 if {expr} is empty, zero otherwise.
A |List| or |Dictionary| is empty when it does not have any