From 7248eef3be22ef397df80bf024d187cbcb0507e1 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 30 Dec 2015 03:02:19 +0100 Subject: [PATCH] configuration fixup editor --- src/configuration.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/configuration.rs b/src/configuration.rs index 7122bfde..2ac587b8 100644 --- a/src/configuration.rs +++ b/src/configuration.rs @@ -50,7 +50,7 @@ impl Configuration { debug!(" - debugging : {}", debugging); debug!(" - store sub : {}", store_sub); debug!(" - runtimepath: {}", runtimepath); - debug!(" - editor : {}", editor.unwrap_or(String::from(""))); + debug!(" - editor : {:?}", editor); debug!(" - editor-opts: {}", editor_opts); Configuration { @@ -80,7 +80,7 @@ impl Configuration { } pub fn editor(&self) -> Option { - self.editor + self.editor.clone() } pub fn editor_opts(&self) -> &String {