From 6b86f5520de9b472c3a84aa0fcae5ad9a0c27db3 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 11 Apr 2026 11:05:13 -0400 Subject: [PATCH] feat(connect): filepath completion #38959 This is a stop-gap; the next step is for :connect to show a menu of known peers (and perhaps also any files in CWD that look like sockets). (cherry picked from commit 6f015cdcdf0b617c9b716e833823498ce7c001c8) --- src/nvim/ex_cmds.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/ex_cmds.lua b/src/nvim/ex_cmds.lua index 93cc0f3bfe..5ecb2b2be2 100644 --- a/src/nvim/ex_cmds.lua +++ b/src/nvim/ex_cmds.lua @@ -632,7 +632,7 @@ M.cmds = { }, { command = 'connect', - flags = bit.bor(BANG, WORD1, NOTRLCOM, NEEDARG), + flags = bit.bor(BANG, FILE1, NOTRLCOM, NEEDARG), addr_type = 'ADDR_NONE', func = 'ex_connect', },