mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 12:45:17 -07:00
parent
c0ae39ee53
commit
7940ec6913
@ -576,9 +576,8 @@ function M.man_complete(arg_lead, cmd_line, _)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if #args == 1 then
|
if #args == 1 then
|
||||||
-- returning full completion is laggy. Require some arg_lead to complete
|
-- XXX: This (full completion) is laggy, but without it tab-complete is broken. #31512
|
||||||
-- return complete('', '', '')
|
return complete('', '', '')
|
||||||
return {}
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if arg_lead:match('^[^()]+%([^()]*$') then
|
if arg_lead:match('^[^()]+%([^()]*$') then
|
||||||
|
Loading…
Reference in New Issue
Block a user