diff options
author | Canop <cano.petrole@gmail.com> | 2023-02-25 08:29:05 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2023-02-25 08:29:05 +0100 |
commit | 9b8124bbb377232b096c15a0c14fdb454394c382 (patch) | |
tree | 22e45fc178848c9cf60f3d03936ec59919940b85 /src/launchable.rs | |
parent | 0a83711093413a7df4a63984d6064ee693cdbecf (diff) |
add log on $EDITOR resolution
Diffstat (limited to 'src/launchable.rs')
-rw-r--r-- | src/launchable.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/launchable.rs b/src/launchable.rs index c325ad0..bfde70a 100644 --- a/src/launchable.rs +++ b/src/launchable.rs @@ -73,8 +73,10 @@ fn resolve_env_variables(parts: Vec<String>) -> Vec<String> { continue; } if var_name == "EDITOR" { + debug!("Env var $EDITOR not set, looking at editor command for fallback"); if let Ok(editor) = which("editor") { if let Some(editor) = editor.to_str() { + debug!("Using editor solved as {editor:?}"); resolved.push(editor.to_string()); continue; } |