Syntax highlighting working. Getting started on markdown support

This commit is contained in:
Keith Simmons
2022-06-07 11:54:33 -07:00
parent 863a3b1886
commit b014352740
7 changed files with 102 additions and 44 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ impl LanguageRegistry {
self.languages
.read()
.iter()
.find(|language| language.name().as_ref() == name)
.find(|language| language.name().to_lowercase() == name.to_lowercase())
.cloned()
}