aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/man.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua/man.lua')
-rw-r--r--runtime/lua/man.lua5
1 files 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