1
0
forked from aniani/vim

patch 9.0.1504: no error when calling remote_startserver("")

Problem:    No error when calling remote_startserver() with an empty string.
Solution:   Give an error for an empty string. (Hirohito Higashi,
            closes #12327)
This commit is contained in:
h-east
2023-05-01 22:36:56 +01:00
committed by Bram Moolenaar
parent 2dcfe9ae1d
commit 17b695190d
4 changed files with 19 additions and 17 deletions

View File

@@ -7312,8 +7312,9 @@ remote_send({server}, {string} [, {idvar}])
<
*remote_startserver()* *E941* *E942*
remote_startserver({name})
Become the server {name}. This fails if already running as a
server, when |v:servername| is not empty.
Become the server {name}. {name} must be a non-empty string.
This fails if already running as a server, when |v:servername|
is not empty.
Can also be used as a |method|: >
ServerName()->remote_startserver()