Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'book/src/editor.md')
| -rw-r--r-- | book/src/editor.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/book/src/editor.md b/book/src/editor.md index 1f70c5b5..feec09fd 100644 --- a/book/src/editor.md +++ b/book/src/editor.md @@ -442,6 +442,8 @@ fn main() { | `max-wrap` | Equivalent of the `editor.soft-wrap.max-wrap` option for diagnostics. | `20` | | `max-diagnostics` | Maximum number of diagnostics to render inline for a given line | `10` | +The allowed values for `cursor-line` and `other-lines` are: `error`, `warning`, `info`, `hint`. + The (first) diagnostic with the highest severity that is not shown inline is rendered at the end of the line (as long as its severity is higher than the `end-of-line-diagnostics` config option): ``` |