Move git gutter settings out of editor settings

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
Julia 2022-10-03 14:53:33 -04:00
parent 8f4b3c3493
commit a5c2f22bf7
5 changed files with 38 additions and 29 deletions

View file

@ -736,9 +736,9 @@ impl<T: Item> ItemHandle for ViewHandle<T> {
let debounce_delay = cx
.global::<Settings>()
.editor_overrides
.git
.git_gutter
.unwrap_or_default()
.expect("This should be Some by setting setup")
.debounce_delay_millis;
let item = item.clone();