Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix VS Code settings file location on Linux (#31242)

ADmad7e879166424b
diff --git a/crates/paths/src/paths.rs b/crates/paths/src/paths.rs
index 80634090091..c96d114ac1c 100644
--- a/crates/paths/src/paths.rs
+++ b/crates/paths/src/paths.rs
@@ -435,7 +435,7 @@ pub fn vscode_settings_file() -> &'static PathBuf {
.join("Library/Application Support")
.join(rel_path)
} else {
- config_dir().join(rel_path)
+ home_dir().join(".config").join(rel_path)
}
})
}