From 2b5dcf255db7af59e0ab5c01cf9e444e3e641e4f Mon Sep 17 00:00:00 2001 From: Carlo Teubner <435950+c4rlo@users.noreply.github.com> Date: Sun, 31 Jul 2022 17:20:50 +0100 Subject: [PATCH] visudo.c: add nvim (Neovim) to lineno_editor list Neovim supports it: https://neovim.io/doc/user/starting.html#-+ --- plugins/sudoers/visudo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/sudoers/visudo.c b/plugins/sudoers/visudo.c index 5189e5737..18f362b54 100644 --- a/plugins/sudoers/visudo.c +++ b/plugins/sudoers/visudo.c @@ -419,6 +419,7 @@ static const char *lineno_editors[] = { "vi", "nvi", "vim", + "nvim", "elvis", "*macs", "mg",