Skip to content

Commit

Permalink
Use the name of the directory for the installed config, do not requir…
Browse files Browse the repository at this point in the history
…e the path to the vhdl_ls.toml
  • Loading branch information
Schottkyc137 committed Sep 21, 2024
1 parent ca8a3ae commit 321df71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vhdl_lang/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@ impl Config {
location: Option<String>,
) {
if let Some(location) = location {
self.load_config(&PathBuf::from(location), "Installation", messages);
let mut path = PathBuf::from(location);
path.push("vhdl_ls.toml");
self.load_config(&path, "Installation", messages);
return;
}
let search_paths = [
Expand Down

0 comments on commit 321df71

Please sign in to comment.