We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b3e43f commit 5c23711Copy full SHA for 5c23711
lua/strive/init.lua
@@ -902,7 +902,9 @@ function Plugin:cmd(commands)
902
bang = true,
903
complete = function(_, cmd_line)
904
if not self.loaded then
905
- return self:load()
+ self:load()
906
+ -- wait async source for get completion of command
907
+ vim.wait(10)
908
end
909
local ok, result = pcall(vim.fn.getcompletion, cmd_line, 'cmdline')
910
return ok and result or {}
0 commit comments