docs: Improve display of inline-diagnostics config sample

Closes https://github.com/helix-editor/helix/issues/11591
pull/11948/merge
Michael Davis 2 days ago
parent d8e2aab201
commit b97c745631
No known key found for this signature in database

@ -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: 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" end-of-line-diagnostics = "hint"
[editor.inline-diagnostics] [editor.inline-diagnostics]
cursor-line = "warning" # show warnings and errors on the cursorline inline cursor-line = "warning" # show warnings and errors on the cursorline inline

Loading…
Cancel
Save