mirror of https://github.com/helix-editor/helix
cut out more code
parent
7b6e733892
commit
f808fa083a
|
@ -595,8 +595,5 @@ fn mtime(path: &Path) -> Result<SystemTime> {
|
|||
/// directory
|
||||
pub fn load_runtime_file(language: &str, filename: &str) -> Result<String, std::io::Error> {
|
||||
let path = crate::runtime_file(&PathBuf::new().join("queries").join(language).join(filename));
|
||||
|
||||
log::info!("Loading indents for language: {}", language);
|
||||
|
||||
std::fs::read_to_string(path)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue