summaryrefslogtreecommitdiffstats
path: root/runtime/doc/sign.txt
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-12-22 19:45:28 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-22 19:45:28 +0000
commita80aad717464760a5a50ac2201ce35b24a0cf7a5 (patch)
tree968eca4115530a2d08a151f5c3cc957b4b43d69d /runtime/doc/sign.txt
parent82b3b4c6cf2973fe767f8e2311482af0bd95267e (diff)
patch 8.2.3874: cannot highlight the number column for a signv8.2.3874
Problem: Cannot highlight the number column for a sign. Solution: Add the "numhl" argument. (James McCoy, closes #9381)
Diffstat (limited to 'runtime/doc/sign.txt')
-rw-r--r--runtime/doc/sign.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt
index 7976cecca8..125e592158 100644
--- a/runtime/doc/sign.txt
+++ b/runtime/doc/sign.txt
@@ -140,6 +140,11 @@ See |sign_define()| for the equivalent Vim script function.
Highlighting group used for the whole line the sign is placed
in. Most useful is defining a background color.
+ numhl={group}
+ Highlighting group used for the line number on the line where
+ the sign is placed. Overrides |hl-LineNr|, |hl-LineNrAbove|,
+ |hl-LineNrBelow|, and |hl-CursorLineNr|.
+
text={text} *E239*
Define the text that is displayed when there is no icon or the
GUI is not being used. Only printable characters are allowed
@@ -396,6 +401,8 @@ 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
@@ -443,6 +450,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