From 16be34b9d4ac078b49bb78a48c31babb204abbf5 Mon Sep 17 00:00:00 2001 From: Bark Date: Mon, 12 Feb 2024 09:32:20 +0200 Subject: [PATCH] fix: Fix errors when building minimal. when building without git `Decoration, GridBorderDecoration, LineNumberDecoration` gave errors because they were marked as `git` features, --- src/printer.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/printer.rs b/src/printer.rs index af7a602d..9266e2a7 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -22,7 +22,6 @@ use unicode_width::UnicodeWidthChar; use crate::assets::{HighlightingAssets, SyntaxReferenceInSet}; use crate::config::Config; -#[cfg(feature = "git")] use crate::decorations::{Decoration, GridBorderDecoration, LineNumberDecoration}; #[cfg(feature = "git")] use crate::decorations::{LineBlamesDecoration, LineChangesDecoration};