add templating languages html, erb, heex, svelte as entire parseable file types
This commit is contained in:
parent
599f674827
commit
9a50b43eaa
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ const CODE_CONTEXT_TEMPLATE: &str =
|
||||||
"The below code snippet is from file '<path>'\n\n```<language>\n<item>\n```";
|
"The below code snippet is from file '<path>'\n\n```<language>\n<item>\n```";
|
||||||
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```";
|
||||||
pub const PARSEABLE_ENTIRE_FILE_TYPES: &[&str] = &["TOML", "YAML", "CSS"];
|
pub const PARSEABLE_ENTIRE_FILE_TYPES: &[&str] =
|
||||||
|
&["TOML", "YAML", "CSS", "HEEX", "ERB", "SVELTE", "HTML"];
|
||||||
|
|
||||||
pub struct CodeContextRetriever {
|
pub struct CodeContextRetriever {
|
||||||
pub parser: Parser,
|
pub parser: Parser,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue