aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/config.rs
diff options
context:
space:
mode:
authorNathan Vegdahl2021-07-01 17:41:20 +0000
committerNathan Vegdahl2021-07-02 02:06:52 +0000
commit702a0491db0fef8ee15cd6fcff3138812da2c2aa (patch)
tree42a1194f0b43465ca1125c0c2209a75b0b158389 /helix-term/src/config.rs
parent79f096963c75d107cd1f415666fb21a9cfd3cbd6 (diff)
Remove #[allow(unused)] from helix-term, and fix unused imports.
Lots of other warning still left. Will address in subsequent commits.
Diffstat (limited to 'helix-term/src/config.rs')
-rw-r--r--helix-term/src/config.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/helix-term/src/config.rs b/helix-term/src/config.rs
index 3c05144a..b5ccbdfb 100644
--- a/helix-term/src/config.rs
+++ b/helix-term/src/config.rs
@@ -1,10 +1,10 @@
-use anyhow::{Error, Result};
use serde::Deserialize;
-use std::collections::HashMap;
-use crate::commands::Command;
use crate::keymap::Keymaps;
+#[cfg(test)]
+use crate::commands::Command;
+
#[derive(Debug, Default, Clone, PartialEq, Deserialize)]
pub struct Config {
pub theme: Option<String>,