docs: Improve display of inline-diagnostics config sample

Closes https://github.com/helix-editor/helix/issues/11591
This commit is contained in:
Michael Davis 2024-11-20 17:28:13 -05:00
parent d8e2aab201
commit b97c745631
No known key found for this signature in database

View File

@ -452,7 +452,8 @@ ### `[editor.inline-diagnostics]` Section
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