Merge pull request #186 from EHfive/fix-editor-libcosmoc-vi
Fix building editor-libcosmic with vi feature
This commit is contained in:
commit
d8a66ee781
1 changed files with 1 additions and 0 deletions
|
|
@ -269,6 +269,7 @@ impl Application for Window {
|
||||||
|
|
||||||
let mut editor = self.editor.lock().unwrap();
|
let mut editor = self.editor.lock().unwrap();
|
||||||
|
|
||||||
|
#[cfg(not(feature = "vi"))]
|
||||||
// Update the syntax color theme
|
// Update the syntax color theme
|
||||||
match theme {
|
match theme {
|
||||||
"Light" => editor.update_theme("base16-ocean.light"),
|
"Light" => editor.update_theme("base16-ocean.light"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue