mirror of
https://github.com/neovim/neovim.git
synced 2025-12-08 07:32:40 +00:00
test(old): make test_signs.vim closer to upstream
(cherry picked from commit 5391e8b002)
This commit is contained in:
committed by
github-actions[bot]
parent
bd3634d7a4
commit
d2582350b2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user