mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 02:34:59 -07:00
Revert "fix(Man.lua): trigger completion even without arguments" #31572
This reverts commit 7940ec6913
.
This commit is contained in:
parent
9c20342297
commit
65b1733405
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user