Skip to content

Commit

Permalink
docs: Improve display of inline-diagnostics config sample
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Nov 20, 2024
1 parent d8e2aab commit b97c745
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion book/src/editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b97c745

Please sign in to comment.