瀏覽代碼

Prefer NNN_USE_EDITOR over opener (option )

master
Arun Prakash Jana 5 年之前
父節點
當前提交
7f3d2c10aa
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: A75979F35C080412
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/nnn.c

+ 2
- 2
src/nnn.c 查看文件

@@ -5814,8 +5814,8 @@ int main(int argc, char *argv[])
}
}

/* Edit text in EDITOR if opted (and opener is not all-CLI) */
if (!cfg.cliopener && xgetenv_set(env_cfg[NNN_USE_EDITOR]))
/* Edit text in "editor" if opted (gets preference over option `-c`) */
if (xgetenv_set(env_cfg[NNN_USE_EDITOR]))
cfg.useeditor = 1;

/* Get VISUAL/EDITOR */


Loading…
取消
儲存