aboutsummaryrefslogtreecommitdiff
path: root/book/src/languages.md
diff options
context:
space:
mode:
authorPascal Kuthe2023-03-26 16:10:09 +0000
committerBlaž Hrastnik2023-12-27 06:28:14 +0000
commit8653e1b02f6193330f8b0f2afff0a2ff103bd6a4 (patch)
treef6a04a6e55b437359d77a8d857e803593c625ef3 /book/src/languages.md
parentc874a896a5151043a5cd7336e12ebc3a928fc677 (diff)
Add config to mark diagnostic sources as persistent
Diffstat (limited to 'book/src/languages.md')
-rw-r--r--book/src/languages.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/languages.md b/book/src/languages.md
index 632a9146..944ebf09 100644
--- a/book/src/languages.md
+++ b/book/src/languages.md
@@ -69,6 +69,7 @@ These configuration keys are available:
| `soft-wrap` | [editor.softwrap](./configuration.md#editorsoft-wrap-section)
| `text-width` | Maximum line length. Used for the `:reflow` command and soft-wrapping if `soft-wrap.wrap-at-text-width` is set, defaults to `editor.text-width` |
| `workspace-lsp-roots` | Directories relative to the workspace root that are treated as LSP roots. Should only be set in `.helix/config.toml`. Overwrites the setting of the same name in `config.toml` if set. |
+| `persistent-diagnostic-sources` | An array of LSP diagnostic sources assumed unchanged when the language server resends the same set of diagnostics. Helix can track the position for these diagnostics internally instead. Useful for diagnostics that are recomputed on save.
### File-type detection and the `file-types` key