summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorh-east <h.east.727@gmail.com>2023-05-01 22:36:56 +0100
committerBram Moolenaar <Bram@vim.org>2023-05-01 22:36:56 +0100
commit17b695190d63b2de745499cb40a383c2672e275e (patch)
treed67dc346d6b708c36027ead4a30545c90244406c /runtime
parent2dcfe9ae1df61e1249520ed435dd8cf60e157103 (diff)
downloadvim-git-17b695190d63b2de745499cb40a383c2672e275e.tar.gz
patch 9.0.1504: no error when calling remote_startserver("")v9.0.1504
Problem: No error when calling remote_startserver() with an empty string. Solution: Give an error for an empty string. (Hirohito Higashi, closes #12327)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/builtin.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 91d468ee1..dd680069f 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -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()