mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Revert "Prefer NNN_USE_EDITOR over opener (option )"
This reverts commit 7f3d2c10aa
.
This commit is contained in:
parent
583b6a84f5
commit
7d171368ad
|
@ -5814,8 +5814,8 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Edit text in "editor" if opted (gets preference over option `-c`) */
|
/* Edit text in EDITOR if opted (and opener is not all-CLI) */
|
||||||
if (xgetenv_set(env_cfg[NNN_USE_EDITOR]))
|
if (!cfg.cliopener && xgetenv_set(env_cfg[NNN_USE_EDITOR]))
|
||||||
cfg.useeditor = 1;
|
cfg.useeditor = 1;
|
||||||
|
|
||||||
/* Get VISUAL/EDITOR */
|
/* Get VISUAL/EDITOR */
|
||||||
|
|
Loading…
Reference in a new issue