This commit is contained in:
Antonio Scandurra 2023-09-14 17:42:30 +02:00
parent 6a271617b4
commit f86e5a987f
4 changed files with 94 additions and 3 deletions

View file

@ -207,7 +207,7 @@ impl CodeContextRetriever {
if PARSEABLE_ENTIRE_FILE_TYPES.contains(&language_name.as_ref()) {
return self.parse_entire_file(relative_path, language_name, &content);
} else if language_name.as_ref() == "Markdown" {
} else if ["Markdown", "Plain Text"].contains(&language_name.as_ref()) {
return self.parse_markdown_file(relative_path, &content);
}