diff options
author | _ <a@b.co> | 2020-11-06 18:32:29 +0530 |
---|---|---|
committer | _ <a@b.co> | 2020-11-08 19:48:24 +0530 |
commit | 8b43d85d07d5f86bbaa896f74baa3f43fcb4c460 (patch) | |
tree | fca68e4bdf6681dcccd74fabc894175211089ee1 /src/conf/conf.rs | |
parent | e47ce676b0fe285f782d3a5282b8658b9b3568e5 (diff) |
Add support for icons
Diffstat (limited to 'src/conf/conf.rs')
-rw-r--r-- | src/conf/conf.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf/conf.rs b/src/conf/conf.rs index 3e752a5..3aa490b 100644 --- a/src/conf/conf.rs +++ b/src/conf/conf.rs @@ -39,6 +39,7 @@ pub struct Conf { pub ext_colors: ExtColorMap, pub syntax_theme: Option<String>, pub true_colors: Option<bool>, + pub icon_theme: Option<String>, } impl Conf { @@ -102,6 +103,8 @@ impl Conf { } // date/time format self.date_time_format = string_field(&root, "date_time_format"); + // Icon theme + self.icon_theme = string_field(&root, "icon_theme"); // reading the optional theme for syntect self.syntax_theme = string_field(&root, "syntax_theme"); // mouse capture |