diff --git a/src/assets.rs b/src/assets.rs
index df6943fa..f9a990fe 100644
--- a/src/assets.rs
+++ b/src/assets.rs
@@ -250,22 +250,18 @@ impl HighlightingAssets {
.map(|syntax| SyntaxReferenceInSet { syntax, syntax_set }))
}
- fn find_syntax_by_extension(&self, extension: &str) -> Result