mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 19:10:24 +00:00
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```";
|
||||
const ENTIRE_FILE_TEMPLATE: &str =
|
||||
"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 parser: Parser,
|
||||
|
|
Loading…
Reference in a new issue