We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b57f3e commit 5a32ae6Copy full SHA for 5a32ae6
1 file changed
editor.py
@@ -51,11 +51,6 @@ def get_editor_args(editor):
51
return []
52
53
54
-def get_platform_editor_var():
55
- # TODO: Make platform specific
56
- return "$EDITOR"
57
-
58
59
def get_editor():
60
# Get the editor from the environment. Prefer VISUAL to EDITOR
61
editor = os.environ.get('VISUAL') or os.environ.get('EDITOR')
@@ -69,7 +64,7 @@ def get_editor():
69
64
return path
70
65
71
66
raise EditorError("Unable to find a viable editor on this system."
72
- "Please consider setting your %s variable" % get_platform_editor_var())
67
+ "Please consider setting your $EDITOR variable")
73
68
74
75
def get_tty_filename():
0 commit comments