aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorReto Schnyder <reto.a.schnyder@bluewin.ch>2018-10-13 19:33:08 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-10-13 19:39:56 +0200
commitbddcbbb5716a005001da3bacb4c1df4ae05e51bc (patch)
tree5317a4d71a4e2ab1ac8e966adfcbff086d0cc2fa /runtime
parent8bbb28b9732bfa430a963f16498d8ec42c637ca9 (diff)
downloadrneovim-bddcbbb5716a005001da3bacb4c1df4ae05e51bc.tar.gz
rneovim-bddcbbb5716a005001da3bacb4c1df4ae05e51bc.tar.bz2
rneovim-bddcbbb5716a005001da3bacb4c1df4ae05e51bc.zip
signs: Add "numhl" argument #9113
close #9113 ref #9040
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt7
-rw-r--r--runtime/doc/sign.txt4
-rw-r--r--runtime/doc/vim_diff.txt1
3 files changed, 8 insertions, 4 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index ab866da320..bfdc09662e 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4256,12 +4256,11 @@ A jump table for the options with a short description can be found at |Q_op|.
Print the line number in front of each line. When the 'n' option is
excluded from 'cpoptions' a wrapped line will not use the column of
line numbers.
- The 'numberwidth' option can be used to set the room used for the line
- number.
+ Use the 'numberwidth' option to adjust the room for the line number.
When a long, wrapped line doesn't start with the first character, '-'
characters are put before the number.
- See |hl-LineNr| and |hl-CursorLineNr| for the highlighting used for
- the number.
+ For highlighting see |hl-LineNr|, |hl-CursorLineNr|, and the
+ |:sign-define| "numhl" argument.
*number_relativenumber*
The 'relativenumber' option changes the displayed number to be
relative to the cursor. Together with 'number' there are these
diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt
index 977d73b7b2..7cdb460943 100644
--- a/runtime/doc/sign.txt
+++ b/runtime/doc/sign.txt
@@ -85,6 +85,10 @@ DEFINING A SIGN. *:sign-define* *E255* *E160* *E612*
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 'number' column at the associated
+ line. Overrides |hl-LineNr|, |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
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 2615d8a108..4fbfb0d7a0 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -136,6 +136,7 @@ Commands:
|:cquit| can use [count] to set the exit code
|:drop| is always available
|:Man| is available by default, with many improvements such as completion
+ |:sign-define| accepts a `numhl` argument, to highlight the line number
|:tchdir| tab-local |current-directory|
Events: