You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using asyncomplete for a few weeks and am v. happy with the lsp integration. I noticed a snag, however, with non-lsp autocomplete of the current buffer.
Perhaps you feel this is out of scope, but I'd argue that current buffer completion is a feature of autocomplete that most programmers would intuitively expect.
Reproduction steps
Open a file from the command line:
$ nvim my_existing_file.random_ending
Type a word from the file. It will not autocomplete.
By contrast, Vim's built-in <C-x><C-p> works just fine.
(I also tried with the aysnccomplete/buffers plugin and this suffers from the same issue.)
Related issues
When you open a brand new file from an existing VIM process, there is also no autocompletion of this new buffer. The problem persists even after saving the file.
The way to get things working here, assuming the buffers plugin is loaded, is to type :e to load the file again and trigger BufWinEnter.
The text was updated successfully, but these errors were encountered:
I also encountered this on vim 8.2 with the asyncomplete-buffer.vim plugin installed. When I first open vim, results from the current buffer will not appear for completion. I need to 're-open' the buffer and then they appear.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
I've been using
asyncomplete
for a few weeks and am v. happy with thelsp
integration. I noticed a snag, however, with non-lsp autocomplete of the current buffer.Perhaps you feel this is out of scope, but I'd argue that current buffer completion is a feature of autocomplete that most programmers would intuitively expect.
Reproduction steps
Open a file from the command line:
$ nvim my_existing_file.random_ending
Type a word from the file. It will not autocomplete.
By contrast, Vim's built-in
<C-x><C-p>
works just fine.(I also tried with the
aysnccomplete/buffers
plugin and this suffers from the same issue.)Related issues
When you open a brand new file from an existing VIM process, there is also no autocompletion of this new buffer. The problem persists even after saving the file.
The way to get things working here, assuming the buffers plugin is loaded, is to type
:e
to load the file again and triggerBufWinEnter
.The text was updated successfully, but these errors were encountered: