Vim's built-in :help i_CTRL-N suggests word completions from buffers, including the terminal buffer.
This allows users to run any shell commands in a vim terminal (e.g. :term {command}) and use the output as completion suggestions.
Consider the following examples:
:term cargo check/:term cargo clippy or :term go doc {pkg}
:term ddgr or :term googler (combined with BROWSER=$(which w3m || which lynx) allows you to search DuckDuckGo or Google respectively and open search results in terminal browsers in vim terminal buffers and get word completion in other buffers in vim. Here is a quick gif demo of this workflow:

Is it possible to provide word completion from terminal buffers with asyncomplete-buffer.vim?
Vim's built-in
:help i_CTRL-Nsuggests word completions from buffers, including the terminal buffer.This allows users to run any shell commands in a vim terminal (e.g.
:term {command}) and use the output as completion suggestions.Consider the following examples:
:term cargo check/:term cargo clippyor:term go doc {pkg}:term ddgror:term googler(combined withBROWSER=$(which w3m || which lynx)allows you to search DuckDuckGo or Google respectively and open search results in terminal browsers in vim terminal buffers and get word completion in other buffers in vim. Here is a quick gif demo of this workflow:Is it possible to provide word completion from terminal buffers with
asyncomplete-buffer.vim?