aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-12-20 11:03:38 +0800
committerGitHub <noreply@github.com>2022-12-20 11:03:38 +0800
commitde90a8bfe5ff4b440597e6d3301bdc3bde01990a (patch)
tree7c9a5aa6f052aba7f6212723db80c578085e4b12 /runtime
parent03166838abf23e3c2de55333fb2b9b0af34a2c56 (diff)
downloadrneovim-de90a8bfe5ff4b440597e6d3301bdc3bde01990a.tar.gz
rneovim-de90a8bfe5ff4b440597e6d3301bdc3bde01990a.tar.bz2
rneovim-de90a8bfe5ff4b440597e6d3301bdc3bde01990a.zip
test(old): make test_signs.vim closer to upstream (#21479)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/sign.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt
index a2a5645baa..efe0c3390d 100644
--- a/runtime/doc/sign.txt
+++ b/runtime/doc/sign.txt
@@ -334,8 +334,10 @@ See |sign_getplaced()| for the equivalent Vim script function.
:sign place group=* buffer={nr}
List signs in all the groups placed in buffer {nr}.
+:sign place List placed signs in the global group in all files.
+
:sign place group={group}
- List placed signs in all sign groups in all the files.
+ List placed signs with sign group {group} in all files.
:sign place group=*
List placed signs in all sign groups in all files.
@@ -381,15 +383,14 @@ sign_define({list})
icon full path to the bitmap file for the sign.
linehl highlight group used for the whole line the
sign is placed in.
+ numhl highlight group used for the line number where
+ the sign is placed.
text text that is displayed when there is no icon
or the GUI is not being used.
texthl highlight group used for the text item
culhl highlight group used for the text item when
the cursor is on the same line as the sign and
'cursorline' is enabled.
- numhl highlight group used for 'number' column at the
- associated line. Overrides |hl-LineNr|,
- |hl-CursorLineNr|.
If the sign named {name} already exists, then the attributes
of the sign are updated.
@@ -431,6 +432,8 @@ sign_getdefined([{name}]) *sign_getdefined()*
linehl highlight group used for the whole line the
sign is placed in; not present if not set.
name name of the sign
+ numhl highlight group used for the line number where
+ the sign is placed; not present if not set.
text text that is displayed when there is no icon
or the GUI is not being used.
texthl highlight group used for the text item; not
@@ -439,9 +442,6 @@ sign_getdefined([{name}]) *sign_getdefined()*
the cursor is on the same line as the sign and
'cursorline' is enabled; not present if not
set.
- numhl highlight group used for 'number' column at the
- associated line. Overrides |hl-LineNr|,
- |hl-CursorLineNr|; not present if not set.
Returns an empty List if there are no signs and when {name} is
not found.