aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2023-12-13 09:54:04 -0600
committerGregory Anders <greg@gpanders.com>2023-12-13 09:56:10 -0600
commita3b39784744f330b922117655811542202fcd85b (patch)
tree0b037930301781f91d117abcbb240e5c35160284 /runtime/doc
parent39112c72dd3722cd4a0770fc23c9d7269a9c2283 (diff)
downloadrneovim-a3b39784744f330b922117655811542202fcd85b.tar.gz
rneovim-a3b39784744f330b922117655811542202fcd85b.tar.bz2
rneovim-a3b39784744f330b922117655811542202fcd85b.zip
feat(diagnostics): support numhl and linehl for diagnostic signs
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/diagnostic.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/diagnostic.txt b/runtime/doc/diagnostic.txt
index 895f88f393..4cf8fef7c4 100644
--- a/runtime/doc/diagnostic.txt
+++ b/runtime/doc/diagnostic.txt
@@ -445,6 +445,12 @@ config({opts}, {namespace}) *vim.diagnostic.config()*
signs = { text = { [vim.diagnostic.severity.ERROR] = 'E', ... } }
})
<
+ • numhl: (table) A table mapping |diagnostic-severity|
+ to the highlight group used for the line number where
+ the sign is placed.
+ • linehl: (table) A table mapping |diagnostic-severity|
+ to the highlight group used for the whole line the
+ sign is placed in.
• float: Options for floating windows. See
|vim.diagnostic.open_float()|.