aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/builtin.txt10
-rw-r--r--runtime/doc/sign.txt6
2 files changed, 8 insertions, 8 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 860372767a..5d70c42157 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -6998,11 +6998,11 @@ sign_place({id}, {group}, {name}, {buf} [, {dict}]) *sign_place()*
similar to the |:sign-place| command.
If the sign identifier {id} is zero, then a new identifier is
- allocated. Otherwise the specified number is used. {group} is
- the sign group name. To use the global sign group, use an
- empty string. {group} functions as a namespace for {id}, thus
- two groups can use the same IDs. Refer to |sign-identifier|
- and |sign-group| for more information.
+ allocated (first available id in a buffer). Otherwise the
+ specified number is used. {group} is the sign group name. To use
+ the global sign group, use an empty string. {group} functions
+ as a namespace for {id}, thus two groups can use the same IDs.
+ Refer to |sign-identifier| and |sign-group| for more information.
{name} refers to a defined sign.
{buf} refers to a buffer name or number. For the accepted
diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt
index 733b0fe212..30fa7eee0b 100644
--- a/runtime/doc/sign.txt
+++ b/runtime/doc/sign.txt
@@ -53,9 +53,9 @@ If 'cursorline' is enabled, then the CursorLineSign highlight group is used
Each placed sign is identified by a number called the sign identifier. This
identifier is used to jump to the sign or to remove the sign. The identifier
is assigned when placing the sign using the |:sign-place| command or the
-|sign_place()| function. Each sign identifier should be a unique number.
-Placing the same identifier twice will move the previously placed sign. The
-|sign_place()| function can be called with a zero sign identifier to allocate
+|sign_place()| function. Each sign identifier should be a unique number (per
+buffer). Placing the same identifier twice will move the previously placed sign.
+The |sign_place()| function can be called with a zero sign identifier to allocate
the next available identifier.
*sign-group*