aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2023-11-18 23:49:11 +0100
committerLuuk van Baal <luukvbaal@gmail.com>2023-11-22 12:43:59 +0100
commitc249058758af6919f718750b2f4acb96bafeb2dd (patch)
tree64002d073da4466869aea09e06b2d18734663d90 /runtime
parent34fa1e1ca4ddee0429f098a3ac885a716138fb6c (diff)
downloadrneovim-c249058758af6919f718750b2f4acb96bafeb2dd.tar.gz
rneovim-c249058758af6919f718750b2f4acb96bafeb2dd.tar.bz2
rneovim-c249058758af6919f718750b2f4acb96bafeb2dd.zip
feat(extmarks): add sign name to extmark "details" array
Problem: Unable to identify legacy signs when fetching extmarks with `nvim_buf_get_extmarks()`. Solution: Add "sign_name" to the extmark detail array. Add some misc. changes as follow-up to #25724
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*