This commit is contained in:
Mikayla Maki 2023-03-29 17:25:27 -07:00
parent e3822a5b5c
commit 76efab005f
3 changed files with 114 additions and 161 deletions

View file

@ -2756,8 +2756,6 @@ impl Editor {
let settings = cx.global::<Settings>();
dbg!(self.copilot_state.user_enabled);
if !self
.copilot_state
.user_enabled
@ -2776,8 +2774,6 @@ impl Editor {
let copilot_enabled = settings.copilot_on(language_name.as_deref());
dbg!(language_name, copilot_enabled);
if !copilot_enabled {
return None;
}