commit 7940ec69136fa992c98aa7b37265fbc2e619232e
parent c0ae39ee533e11d7201696f993afc3053c25cf97
Author: Luca Saccarola <96259932+saccarosium@users.noreply.github.com>
Date: Fri, 13 Dec 2024 15:26:20 +0100
fix(man.lua): `:Man <tab>` does not complete #31569
closes: #31512
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git 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