From c0c9c6a17614ca5674104aeaf5cb7e0da5a42f68 Mon Sep 17 00:00:00 2001 From: Lukas Scheller Date: Mon, 10 Jun 2024 21:17:41 +0200 Subject: [PATCH] Remove duplicate method --- vhdl_ls/src/vhdl_server/lifecycle.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/vhdl_ls/src/vhdl_server/lifecycle.rs b/vhdl_ls/src/vhdl_server/lifecycle.rs index 32151474..47c7da4c 100644 --- a/vhdl_ls/src/vhdl_server/lifecycle.rs +++ b/vhdl_ls/src/vhdl_server/lifecycle.rs @@ -100,19 +100,4 @@ impl VHDLServer { None => ::std::process::exit(0), } } - - fn apply_initial_options(&mut self, options: &Value) { - let Some(non_project_file_handling) = options.get("nonProjectFiles") else { - return; - }; - match non_project_file_handling { - Value::String(handling) => match NonProjectFileHandling::from_string(handling) { - None => self.message(Message::error(format!( - "Illegal setting {handling} for nonProjectFiles setting" - ))), - Some(handling) => self.settings.non_project_file_handling = handling, - }, - _ => self.message(Message::error("nonProjectFiles must be a string")), - } - } }