diff options
| author | sigoden <sigoden@gmail.com> | 2023-10-31 09:06:41 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-31 09:06:41 +0800 |
| commit | 680670e834ff57cf6eb15c373870d1fd478f8edb (patch) | |
| tree | 5b3ef0436532560c35da9959d3e603397a1d8c0d /src/repl/init.rs | |
| parent | 84004fd5767abc94a5360b742e7fd0c8a79c6c55 (diff) | |
| download | aichat-680670e834ff57cf6eb15c373870d1fd478f8edb.tar.gz | |
feat: support custom theme (#187)
Diffstat (limited to 'src/repl/init.rs')
| -rw-r--r-- | src/repl/init.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/init.rs b/src/repl/init.rs index 420f596..fbbcf22 100644 --- a/src/repl/init.rs +++ b/src/repl/init.rs @@ -26,7 +26,7 @@ impl Repl { .collect(); let completer = Self::create_completer(&config, &commands); - let highlighter = ReplHighlighter::new(config.clone(), commands); + let highlighter = ReplHighlighter::new(commands, config.clone()); let menu = Self::create_menu(); let edit_mode: Box<dyn EditMode> = if config.read().keybindings.is_vi() { let mut normal_keybindings = default_vi_normal_keybindings(); |
