configuration fixup editor
This commit is contained in:
parent
bab5614247
commit
7248eef3be
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ impl Configuration {
|
||||||
debug!(" - debugging : {}", debugging);
|
debug!(" - debugging : {}", debugging);
|
||||||
debug!(" - store sub : {}", store_sub);
|
debug!(" - store sub : {}", store_sub);
|
||||||
debug!(" - runtimepath: {}", runtimepath);
|
debug!(" - runtimepath: {}", runtimepath);
|
||||||
debug!(" - editor : {}", editor.unwrap_or(String::from("")));
|
debug!(" - editor : {:?}", editor);
|
||||||
debug!(" - editor-opts: {}", editor_opts);
|
debug!(" - editor-opts: {}", editor_opts);
|
||||||
|
|
||||||
Configuration {
|
Configuration {
|
||||||
|
@ -80,7 +80,7 @@ impl Configuration {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn editor(&self) -> Option<String> {
|
pub fn editor(&self) -> Option<String> {
|
||||||
self.editor
|
self.editor.clone()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn editor_opts(&self) -> &String {
|
pub fn editor_opts(&self) -> &String {
|
||||||
|
|
Loading…
Reference in a new issue