From 2ca63d1d5f78031be374b49e5eec20ba9671fc95 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Mon, 28 Mar 2022 16:31:11 +0200 Subject: run `make format` Signed-off-by: Steffen Jaeckel --- src/config/preferences.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/config') diff --git a/src/config/preferences.c b/src/config/preferences.c index 358c5fbf..43c91b54 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -2277,7 +2277,8 @@ _get_default_string(preference_t pref) return "xdg-open"; case PREF_URL_OPEN_CMD: return "xdg-open %u"; - case PREF_COMPOSE_EDITOR: { + case PREF_COMPOSE_EDITOR: + { gchar* editor = getenv("EDITOR"); return editor ? editor : "vim"; } -- cgit 1.4.1-2-gfad0