diff --git a/examples/editor-libcosmic/src/main.rs b/examples/editor-libcosmic/src/main.rs index c84efe2..84f27d2 100644 --- a/examples/editor-libcosmic/src/main.rs +++ b/examples/editor-libcosmic/src/main.rs @@ -269,6 +269,7 @@ impl Application for Window { let mut editor = self.editor.lock().unwrap(); + #[cfg(not(feature = "vi"))] // Update the syntax color theme match theme { "Light" => editor.update_theme("base16-ocean.light"),