From 3633f85b382d6f3e6324d08d880a8466aee67fa1 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 30 Nov 2021 16:47:46 +0900 Subject: Pass editor into render_view & gutter, reducing the number of params --- helix-view/src/gutter.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'helix-view/src/gutter.rs') diff --git a/helix-view/src/gutter.rs b/helix-view/src/gutter.rs index 86773c1d..8dc243c3 100644 --- a/helix-view/src/gutter.rs +++ b/helix-view/src/gutter.rs @@ -1,16 +1,16 @@ use std::fmt::Write; -use crate::{editor::Config, graphics::Style, Document, Theme, View}; +use crate::{graphics::Style, Document, Editor, Theme, View}; pub type GutterFn<'doc> = Box Option