summaryrefslogtreecommitdiffstats
path: root/src/repl/highlighter.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl/highlighter.rs')
-rw-r--r--src/repl/highlighter.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/repl/highlighter.rs b/src/repl/highlighter.rs
index cca6297..37df659 100644
--- a/src/repl/highlighter.rs
+++ b/src/repl/highlighter.rs
@@ -1,15 +1,15 @@
-use crate::config::SharedConfig;
+use crate::config::GlobalConfig;
use nu_ansi_term::{Color, Style};
use reedline::{Highlighter, StyledText};
pub struct ReplHighlighter {
external_commands: Vec<String>,
- config: SharedConfig,
+ config: GlobalConfig,
}
impl ReplHighlighter {
- pub fn new(external_commands: Vec<String>, config: SharedConfig) -> Self {
+ pub fn new(external_commands: Vec<String>, config: GlobalConfig) -> Self {
Self {
external_commands,
config,