mirror of https://github.com/helix-editor/helix
This resolves a TODO in the core diagnostic module to refactor this type. It was originally an alias of `LanguageServerId` for simplicity. Refactoring as an enum is a necessary step towards introducing "internal" diagnostics - diagnostics emitted by core features such as a spell checker. Fully supporting this use-case will require further larger changes to the diagnostic type, but the change to the provider can be made first. Note that `Copy` is not derived for `DiagnosticProvider` (as it was previously because `LanguageServerId` is `Copy`). In the child commits we will add the `identifier` used in LSP pull diagnostics which is a string - not `Copy`. |
||
---|---|---|
.. | ||
annotations | ||
handlers | ||
annotations.rs | ||
base64.rs | ||
clipboard.rs | ||
document.rs | ||
editor.rs | ||
events.rs | ||
expansion.rs | ||
graphics.rs | ||
gutter.rs | ||
handlers.rs | ||
info.rs | ||
input.rs | ||
keyboard.rs | ||
lib.rs | ||
macros.rs | ||
register.rs | ||
theme.rs | ||
tree.rs | ||
view.rs |