Unnamed repository; edit this file 'description' to name the repository.
docs: Improve display of inline-diagnostics config sample
Closes https://github.com/helix-editor/helix/issues/11591
Michael Davis 2024-11-21
parent d8e2aab · commit b97c745
-rw-r--r--book/src/editor.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/book/src/editor.md b/book/src/editor.md
index 3edc38fc..b5a5608a 100644
--- a/book/src/editor.md
+++ b/book/src/editor.md
@@ -452,7 +452,8 @@ fn main() {
The new diagnostic rendering is not yet enabled by default. As soon as end of line or inline diagnostics are enabled the old diagnostics rendering is automatically disabled. The recommended default setting are:
-```
+```toml
+[editor]
end-of-line-diagnostics = "hint"
[editor.inline-diagnostics]
cursor-line = "warning" # show warnings and errors on the cursorline inline