Respect project-specific settings for copilot
This commit is contained in:
parent
eeba72d775
commit
a2ab7c9eb9
6 changed files with 56 additions and 40 deletions
|
@ -679,7 +679,7 @@ impl Worktree {
|
|||
}
|
||||
|
||||
pub fn root_file(&self, cx: &mut ModelContext<Self>) -> Option<File> {
|
||||
let entry = self.entry_for_path("")?;
|
||||
let entry = self.root_entry()?;
|
||||
Some(File {
|
||||
worktree: cx.handle(),
|
||||
path: entry.path.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue