From b5c688c94deff46965676f0b872f0a929d572154 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 6 Apr 2024 11:59:44 +0530 Subject: [PATCH] be editor neutral --- setup/translations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/translations.py b/setup/translations.py index 168b3c87e3..79a30beca6 100644 --- a/setup/translations.py +++ b/setup/translations.py @@ -737,7 +737,7 @@ class GetTranslations(Translations): # {{{ subprocess.check_call(pofilter) errfiles = glob.glob(errors+os.sep+'*.po') if errfiles: - subprocess.check_call(['vim', '-f', '-p', '--']+errfiles) + subprocess.check_call([os.environ.get('EDITOR', 'vim'), '-f', '-p', '--']+errfiles) for f in errfiles: with open(f, 'r+b') as f: raw = f.read()