commit 65b1733405e558e80527096a0ba42b5a678c9b54
parent 9c20342297391c4076809964e799f2c7705b819b
Author: Justin M. Keyes <justinkz@gmail.com>
Date: Fri, 13 Dec 2024 06:46:40 -0800
Revert "fix(Man.lua): trigger completion even without arguments" #31572
This reverts commit 7940ec69136fa992c98aa7b37265fbc2e619232e.
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/runtime/lua/man.lua b/runtime/lua/man.lua
@@ -576,8 +576,9 @@ function M.man_complete(arg_lead, cmd_line, _)
end
if #args == 1 then
- -- XXX: This (full completion) is laggy, but without it tab-complete is broken. #31512
- return complete('', '', '')
+ -- returning full completion is laggy. Require some arg_lead to complete
+ -- return complete('', '', '')
+ return {}
end
if arg_lead:match('^[^()]+%([^()]*$') then