aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2023-12-13 09:43:27 -0600
committerGregory Anders <greg@gpanders.com>2023-12-13 09:43:27 -0600
commit39112c72dd3722cd4a0770fc23c9d7269a9c2283 (patch)
tree718f35d9b940651b67dc09498487bf4697e66c81 /runtime/doc
parent29d5ff6ac4eade7996d14eec60a31ec6328a165d (diff)
downloadrneovim-39112c72dd3722cd4a0770fc23c9d7269a9c2283.tar.gz
rneovim-39112c72dd3722cd4a0770fc23c9d7269a9c2283.tar.bz2
rneovim-39112c72dd3722cd4a0770fc23c9d7269a9c2283.zip
docs(diagnostic): fix typo in example
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/diagnostic.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/diagnostic.txt b/runtime/doc/diagnostic.txt
index 1e16edbdb2..895f88f393 100644
--- a/runtime/doc/diagnostic.txt
+++ b/runtime/doc/diagnostic.txt
@@ -441,9 +441,9 @@ config({opts}, {namespace}) *vim.diagnostic.config()*
warnings, information, and hints, respectively.
Example: >lua
- vim.diagnostic.config({
- sign = { text = { [vim.diagnostic.severity.ERROR] = 'E', ... } }
- })
+ vim.diagnostic.config({
+ signs = { text = { [vim.diagnostic.severity.ERROR] = 'E', ... } }
+ })
<
• float: Options for floating windows. See