Skip to content

Commit 321df71

Browse files
committed
Use the name of the directory for the installed config, do not require the path to the vhdl_ls.toml
1 parent ca8a3ae commit 321df71

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vhdl_lang/src/config.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,9 @@ impl Config {
248248
location: Option<String>,
249249
) {
250250
if let Some(location) = location {
251-
self.load_config(&PathBuf::from(location), "Installation", messages);
251+
let mut path = PathBuf::from(location);
252+
path.push("vhdl_ls.toml");
253+
self.load_config(&path, "Installation", messages);
252254
return;
253255
}
254256
let search_paths = [

0 commit comments

Comments
 (0)