fix(man.lua): :Man <tab> does not complete #31569

closes: #31512
This commit is contained in:
Luca Saccarola authored and GitHub committed 2024-12-13 06:26:20 -08:00
1 parent c0ae39ee53
commit 7940ec6913
1 file changed
+2 -3
+2 -3
View File
@@ -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