mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
Revert "fix(Man.lua): trigger completion even without arguments" #31572
This reverts commit 7940ec6913
.
This commit is contained in:
@@ -576,8 +576,9 @@ function M.man_complete(arg_lead, cmd_line, _)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if #args == 1 then
|
if #args == 1 then
|
||||||
-- XXX: This (full completion) is laggy, but without it tab-complete is broken. #31512
|
-- returning full completion is laggy. Require some arg_lead to complete
|
||||||
return complete('', '', '')
|
-- return complete('', '', '')
|
||||||
|
return {}
|
||||||
end
|
end
|
||||||
|
|
||||||
if arg_lead:match('^[^()]+%([^()]*$') then
|
if arg_lead:match('^[^()]+%([^()]*$') then
|
||||||
|
Reference in New Issue
Block a user