diff options
author | Luca Saccarola <96259932+saccarosium@users.noreply.github.com> | 2024-12-13 15:26:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-13 06:26:20 -0800 |
commit | 7940ec69136fa992c98aa7b37265fbc2e619232e (patch) | |
tree | 6635d35485219047eb7276d32e89eab172fc47e6 | |
parent | c0ae39ee533e11d7201696f993afc3053c25cf97 (diff) | |
download | rneovim-7940ec69136fa992c98aa7b37265fbc2e619232e.tar.gz rneovim-7940ec69136fa992c98aa7b37265fbc2e619232e.tar.bz2 rneovim-7940ec69136fa992c98aa7b37265fbc2e619232e.zip |
fix(man.lua): `:Man <tab>` does not complete #31569
closes: #31512
-rw-r--r-- | runtime/lua/man.lua | 5 |
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 |