From 7940ec69136fa992c98aa7b37265fbc2e619232e Mon Sep 17 00:00:00 2001 From: Luca Saccarola <96259932+saccarosium@users.noreply.github.com> Date: Fri, 13 Dec 2024 15:26:20 +0100 Subject: [PATCH] fix(man.lua): `:Man ` does not complete #31569 closes: #31512 --- runtime/lua/man.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/runtime/lua/man.lua b/runtime/lua/man.lua index 114c94f9e5..e5343234fc 100644 --- a/runtime/lua/man.lua +++ b/runtime/lua/man.lua @@ -576,9 +576,8 @@ function M.man_complete(arg_lead, cmd_line, _) end if #args == 1 then - -- returning full completion is laggy. Require some arg_lead to complete - -- return complete('', '', '') - return {} + -- XXX: This (full completion) is laggy, but without it tab-complete is broken. #31512 + return complete('', '', '') end if arg_lead:match('^[^()]+%([^()]*$') then