diff options
Diffstat (limited to 'src/clientserver.c')
-rw-r--r-- | src/clientserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clientserver.c b/src/clientserver.c index caa6fdc668..15e490fd50 100644 --- a/src/clientserver.c +++ b/src/clientserver.c @@ -794,6 +794,7 @@ f_remote_expr(typval_T *argvars UNUSED, typval_T *rettv) rettv->v_type = VAR_STRING; rettv->vval.v_string = NULL; +#ifdef FEAT_CLIENTSERVER if (in_vim9script() && (check_for_string_arg(argvars, 0) == FAIL || check_for_string_arg(argvars, 1) == FAIL @@ -802,7 +803,6 @@ f_remote_expr(typval_T *argvars UNUSED, typval_T *rettv) && check_for_opt_number_arg(argvars, 3) == FAIL))) return; -#ifdef FEAT_CLIENTSERVER remote_common(argvars, rettv, TRUE); #endif } @@ -945,13 +945,13 @@ f_remote_send(typval_T *argvars UNUSED, typval_T *rettv) rettv->v_type = VAR_STRING; rettv->vval.v_string = NULL; +#ifdef FEAT_CLIENTSERVER if (in_vim9script() && (check_for_string_arg(argvars, 0) == FAIL || check_for_string_arg(argvars, 1) == FAIL || check_for_opt_string_arg(argvars, 2) == FAIL)) return; -#ifdef FEAT_CLIENTSERVER remote_common(argvars, rettv, FALSE); #endif } |