summaryrefslogtreecommitdiff
path: root/src/panes
diff options
context:
space:
mode:
Diffstat (limited to 'src/panes')
-rw-r--r--src/panes/code_view.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/panes/code_view.rs b/src/panes/code_view.rs
index e133078..551347c 100644
--- a/src/panes/code_view.rs
+++ b/src/panes/code_view.rs
@@ -20,7 +20,6 @@ fn highlight_style(theme: &Theme, scope: &Scope) -> Format<Font> {
pub fn view(
editor_content: &text_editor::Content,
- theme: Theme,
is_focused: bool,
) -> pane_grid::Content<'_, Message> {
let title = row![
@@ -47,7 +46,7 @@ pub fn view(
.on_action(Message::EditorAction)
.font(Font::MONOSPACE)
.highlight_with::<Highlighter>(
- Settings::new(vec![], highlight_style, theme, "rs"),
+ Settings::new(vec![], highlight_style, "rs"),
Highlight::to_format,
)
.style(|theme, _| {