add support for markdown files to semantic search

This commit is contained in:
KCaverly 2023-08-01 10:30:34 -04:00
parent 9a50b43eaa
commit e221f23018
2 changed files with 17 additions and 0 deletions

View file

@ -613,6 +613,7 @@ impl SemanticIndex {
.await
{
if !PARSEABLE_ENTIRE_FILE_TYPES.contains(&language.name().as_ref())
&& &language.name().as_ref() != &"Markdown"
&& language
.grammar()
.and_then(|grammar| grammar.embedding_config.as_ref())