mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-09 07:07:19 +02:00
Add helix to the list of editors to search for
This commit is contained in:
@@ -667,7 +667,7 @@ def get_editor_from_env_vars(opts: Optional[Options] = None) -> List[str]:
|
||||
shell_env = read_shell_environment(opts)
|
||||
editor = get_editor_from_env(shell_env)
|
||||
|
||||
for ans in (editor, 'vim', 'nvim', 'vi', 'emacs', 'kak', 'micro', 'nano', 'vis'):
|
||||
for ans in (editor, 'vim', 'nvim', 'vi', 'emacs', 'hx', 'kak', 'micro', 'nano', 'vis'):
|
||||
if ans and which(shlex.split(ans)[0], only_system=True):
|
||||
break
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user