Wrote editor doc for inline diagnostic timeout

pull/14045/head
Ibrahim Mahmood-Qureshi 2025-07-02 14:15:34 +01:00
parent 61caa4367a
commit 713736d01f
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ fn main() {
| `prefix-len` | How many horizontal bars `─` are rendered before the diagnostic text. | `1` |
| `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` |
| `timeout` | Time in milliseconds after moving the primary cursor before inline diagnostics are shown (if `cursor-line` is not set to `disable`). | `350` |
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):