We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df7a12d + 728a722 commit fc832d7Copy full SHA for fc832d7
crates/emmylua_code_analysis/src/config/mod.rs
@@ -149,7 +149,7 @@ fn pre_process_path(path: &str, workspace: &Path) -> String {
149
return path;
150
}
151
};
152
- path = home_dir.join(&path[1..]).to_string_lossy().to_string();
+ path = home_dir.join(&path[2..]).to_string_lossy().to_string();
153
} else if path.starts_with("./") {
154
path = workspace.join(&path[2..]).to_string_lossy().to_string();
155
} else if PathBuf::from(&path).is_absolute() {
0 commit comments