aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-11-22 18:19:44 +0100
committerGitHub <noreply@github.com>2023-11-22 18:19:44 +0100
commit879617c9bbbacb0d0f778ff6dd53cc7c95794abe (patch)
treeae29602b27948a88bbcde56033095eb4b1958aee /runtime
parentc8fd82b26d4f25f19ccfd4494ec2a049980d543d (diff)
parentc249058758af6919f718750b2f4acb96bafeb2dd (diff)
downloadrneovim-879617c9bbbacb0d0f778ff6dd53cc7c95794abe.tar.gz
rneovim-879617c9bbbacb0d0f778ff6dd53cc7c95794abe.tar.bz2
rneovim-879617c9bbbacb0d0f778ff6dd53cc7c95794abe.zip
Merge pull request #26105 from luukvbaal/signmerge
feat(extmarks): add sign name to extmark "details" array
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*