mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
fix templating bug for parseable entire files
This commit is contained in:
parent
ca4e21881e
commit
89edb3d1b5
@ -59,7 +59,7 @@ impl CodeContextRetriever {
|
||||
let document_span = ENTIRE_FILE_TEMPLATE
|
||||
.replace("<path>", relative_path.to_string_lossy().as_ref())
|
||||
.replace("<language>", language_name.as_ref())
|
||||
.replace("item", &content);
|
||||
.replace("<item>", &content);
|
||||
|
||||
Ok(vec![Document {
|
||||
range: 0..content.len(),
|
||||
|
Loading…
Reference in New Issue
Block a user