helix/helix-view/src
Michael Davis 683fac65e7
Refactor DiagnosticProvider as an enum
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`.
2025-03-22 09:25:29 -04:00
..
annotations fix(lints): clippy 1.84 2025-01-23 15:18:16 -05:00
handlers Refactor DiagnosticProvider as an enum 2025-03-22 09:25:29 -04:00
annotations.rs render diagnostic inline 2024-07-15 16:35:30 +02:00
base64.rs Fix new clippy lints (#5892) 2023-02-09 16:27:08 -06:00
clipboard.rs Properly prevent `crossterm` features being used when `feature = "term"` not enabled in `helix-view` (#12734) 2025-01-30 17:38:07 -06:00
document.rs Refactor DiagnosticProvider as an enum 2025-03-22 09:25:29 -04:00
editor.rs Refactor DiagnosticProvider as an enum 2025-03-22 09:25:29 -04:00
events.rs add DocumentFocusLost event 2024-12-17 13:34:40 -05:00
expansion.rs Rewrite command line parsing, add flags and expansions (#12527) 2025-02-26 19:50:15 -06:00
graphics.rs Properly prevent `crossterm` features being used when `feature = "term"` not enabled in `helix-view` (#12734) 2025-01-30 17:38:07 -06:00
gutter.rs Refactor DiagnosticProvider as an enum 2025-03-22 09:25:29 -04:00
handlers.rs implement incomplete completion requests 2025-02-01 19:36:10 -05:00
info.rs Use custom titles for register select info boxes 2025-02-19 10:29:15 -05:00
input.rs Support bindings with the Super (Cmd/Win/Meta) modifier (#6592) 2024-12-08 12:35:14 +09:00
keyboard.rs Support bindings with the Super (Cmd/Win/Meta) modifier (#6592) 2024-12-08 12:35:14 +09:00
lib.rs Rewrite command line parsing, add flags and expansions (#12527) 2025-02-26 19:50:15 -06:00
macros.rs Apply transactions to all views (#4733) 2022-11-23 12:28:49 +09:00
register.rs registers: Use saved values for clipboard providers which can't read 2024-12-02 10:16:17 -05:00
theme.rs fix(lints): clippy 1.84 2025-01-23 15:18:16 -05:00
tree.rs fix(clippy): clippy 1.83 lints (#12150) 2024-12-02 08:23:32 -06:00
view.rs Improve scrolloff behavior (#11323) 2024-07-26 17:20:33 +02:00