aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-07-08 06:19:12 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-07-08 06:20:22 +0800
commit435ce9921374055ed2103212bb102e2506c1e2e3 (patch)
tree7e6854670cebd055f931991679531ac2a115d798 /runtime
parent7b5364166c0a1696c510d61e74e1808f305c2de7 (diff)
downloadrneovim-435ce9921374055ed2103212bb102e2506c1e2e3.tar.gz
rneovim-435ce9921374055ed2103212bb102e2506c1e2e3.tar.bz2
rneovim-435ce9921374055ed2103212bb102e2506c1e2e3.zip
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 https://github.com/vim/vim/commit/fc3f5dba52099d82ccc8bfe309d58a6fac01373d
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/builtin.txt1
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 3def778e58..648598fb3f 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -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
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index e51041839b..34a3addb57 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -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