From 0b4c93f4d423f6a3378cd7dfc52bdca73e17aaf0 Mon Sep 17 00:00:00 2001 From: Sysix Date: Sun, 24 Nov 2024 19:26:44 +0100 Subject: [PATCH] feat(language_server)!: add capability diagnosticProvider --- crates/oxc_language_server/src/main.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/crates/oxc_language_server/src/main.rs b/crates/oxc_language_server/src/main.rs index 754c5c98cbca4..d584dae4749a9 100644 --- a/crates/oxc_language_server/src/main.rs +++ b/crates/oxc_language_server/src/main.rs @@ -38,13 +38,7 @@ struct Backend { options: Mutex, gitignore_glob: Mutex>, } -#[derive(Debug, Serialize, Deserialize, Default, PartialEq, PartialOrd, Clone, Copy)] -#[serde(rename_all = "camelCase")] -enum Run { - OnSave, - #[default] - OnType, -} + #[derive(Debug, Serialize, Deserialize, Clone)] #[serde(rename_all = "camelCase")] struct Options {