mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
add scheme for full parseable files in semantic index
This commit is contained in:
parent
ece4875973
commit
3c12e711a4
1 changed files with 3 additions and 2 deletions
|
@ -61,8 +61,9 @@ const CODE_CONTEXT_TEMPLATE: &str =
|
||||||
const ENTIRE_FILE_TEMPLATE: &str =
|
const ENTIRE_FILE_TEMPLATE: &str =
|
||||||
"The below snippet is from file '<path>'\n\n```<language>\n<item>\n```";
|
"The below snippet is from file '<path>'\n\n```<language>\n<item>\n```";
|
||||||
const MARKDOWN_CONTEXT_TEMPLATE: &str = "The below file contents is from file '<path>'\n\n<item>";
|
const MARKDOWN_CONTEXT_TEMPLATE: &str = "The below file contents is from file '<path>'\n\n<item>";
|
||||||
pub const PARSEABLE_ENTIRE_FILE_TYPES: &[&str] =
|
pub const PARSEABLE_ENTIRE_FILE_TYPES: &[&str] = &[
|
||||||
&["TOML", "YAML", "CSS", "HEEX", "ERB", "SVELTE", "HTML"];
|
"TOML", "YAML", "CSS", "HEEX", "ERB", "SVELTE", "HTML", "Scheme",
|
||||||
|
];
|
||||||
|
|
||||||
pub struct CodeContextRetriever {
|
pub struct CodeContextRetriever {
|
||||||
pub parser: Parser,
|
pub parser: Parser,
|
||||||
|
|
Loading…
Reference in a new issue