Skip to content

Commit

Permalink
Remove duplicate method
Browse files Browse the repository at this point in the history
  • Loading branch information
Schottkyc137 committed Jun 10, 2024
1 parent 5675187 commit c0c9c6a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions vhdl_ls/src/vhdl_server/lifecycle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
}
}
}

0 comments on commit c0c9c6a

Please sign in to comment.