cut out more code

pull/8675/merge^2
mattwparas 1 year ago
parent 7b6e733892
commit f808fa083a

@ -595,8 +595,5 @@ fn mtime(path: &Path) -> Result<SystemTime> {
/// directory /// directory
pub fn load_runtime_file(language: &str, filename: &str) -> Result<String, std::io::Error> { 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)); 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) std::fs::read_to_string(path)
} }

Loading…
Cancel
Save