add workspace_lang_config_file() to helix-loader lib for consistency

pull/9545/head
Dipsy 10 months ago
parent 0975d9c5e7
commit 987bfc3bd4

@ -148,6 +148,10 @@ pub fn lang_config_file() -> PathBuf {
config_dir().join("languages.toml") config_dir().join("languages.toml")
} }
pub fn workspace_lang_config_file() -> PathBuf {
find_workspace().0.join(".helix").join("languages.toml")
}
pub fn default_log_file() -> PathBuf { pub fn default_log_file() -> PathBuf {
cache_dir().join("helix.log") cache_dir().join("helix.log")
} }

Loading…
Cancel
Save