vim-patch:9.1.0540: Unused assignment in sign_define_cmd()

Problem:  Unused assignment in sign_define_cmd()
Solution: Remove the assignment.  Also document the "priority" flag of
          sign_define(). (zeertzjq)

closes: vim/vim#15169

fc3f5dba52
This commit is contained in:
zeertzjq 2024-07-08 06:19:12 +08:00
parent 7b5364166c
commit 435ce99213
3 changed files with 3 additions and 0 deletions

View File

@ -7063,6 +7063,7 @@ 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.
priority default priority value of the sign
numhl highlight group used for the line number where
the sign is placed.
text text that is displayed when there is no icon

View File

@ -8427,6 +8427,7 @@ function vim.fn.sign_define(name, dict) end
--- icon full path to the bitmap file for the sign.
--- linehl highlight group used for the whole line the
--- sign is placed in.
--- priority default priority value of the sign
--- numhl highlight group used for the line number where
--- the sign is placed.
--- text text that is displayed when there is no icon

View File

@ -10057,6 +10057,7 @@ M.funcs = {
icon full path to the bitmap file for the sign.
linehl highlight group used for the whole line the
sign is placed in.
priority default priority value of the sign
numhl highlight group used for the line number where
the sign is placed.
text text that is displayed when there is no icon