diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-04-26 23:29:55 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-04-26 23:32:01 -0400 |
commit | e4146dd7df0f1ba932a01a79d6dd511914763c72 (patch) | |
tree | 4edd1dad482dd469403318913f0fdcabe5c5ef01 /src/nvim/eval.c | |
parent | 0d6fe73d7b4dbba5bcea4559896c92f9c7e3f10a (diff) | |
download | rneovim-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 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 4d28996d55..944ec1829a 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -6708,7 +6708,6 @@ static struct fst { { "did_filetype", 0, 0, f_did_filetype }, { "diff_filler", 1, 1, f_diff_filler }, { "diff_hlID", 2, 2, f_diff_hlID }, - { "disable_char_avail_for_testing", 1, 1, f_disable_char_avail_for_testing }, { "empty", 1, 1, f_empty }, { "escape", 2, 2, f_escape }, { "eval", 1, 1, f_eval }, @@ -8604,15 +8603,6 @@ static void f_diff_hlID(typval_T *argvars, typval_T *rettv) rettv->vval.v_number = hlID == (hlf_T)0 ? 0 : (int)hlID; } -// -// "disable_char_avail_for_testing({expr})" function -// -static void f_disable_char_avail_for_testing(typval_T *argvars, typval_T *rettv) - FUNC_ATTR_NONNULL_ARG(1) -{ - disable_char_avail_for_testing = get_tv_number(&argvars[0]); -} - /* * "empty({expr})" function */ |