summaryrefslogtreecommitdiff
path: root/helix-term/src/config.rs
diff options
context:
space:
mode:
authorNathan Vegdahl2021-07-02 02:37:28 +0000
committerNathan Vegdahl2021-07-02 02:37:28 +0000
commit2224a1527ec9592f16131b0aa3923fc3d37592e7 (patch)
tree2a08b053cb32cef9dc1db5895778d419ebaebb5b /helix-term/src/config.rs
parente725957704274b1ec814a34ddf6f75faf35358e7 (diff)
parent9f62ad0715240156b512dfc7c584d2d0df05a664 (diff)
Merge branch 'master' into great_line_ending_and_cursor_range_cleanup
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>,