From 3c12e711a40d97a759edd9b1e4ea7e17f263f476 Mon Sep 17 00:00:00 2001 From: KCaverly Date: Fri, 29 Sep 2023 14:35:02 -0400 Subject: [PATCH] add scheme for full parseable files in semantic index --- crates/semantic_index/src/parsing.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/semantic_index/src/parsing.rs b/crates/semantic_index/src/parsing.rs index 498ad6187e..f9b8bac9a4 100644 --- a/crates/semantic_index/src/parsing.rs +++ b/crates/semantic_index/src/parsing.rs @@ -61,8 +61,9 @@ const CODE_CONTEXT_TEMPLATE: &str = const ENTIRE_FILE_TEMPLATE: &str = "The below snippet is from file ''\n\n```\n\n```"; const MARKDOWN_CONTEXT_TEMPLATE: &str = "The below file contents is from file ''\n\n"; -pub const PARSEABLE_ENTIRE_FILE_TYPES: &[&str] = - &["TOML", "YAML", "CSS", "HEEX", "ERB", "SVELTE", "HTML"]; +pub const PARSEABLE_ENTIRE_FILE_TYPES: &[&str] = &[ + "TOML", "YAML", "CSS", "HEEX", "ERB", "SVELTE", "HTML", "Scheme", +]; pub struct CodeContextRetriever { pub parser: Parser,