Closed monkoose closed 8 years ago
yeah,can confirm,deoplete's buffer source can not load words from file1.txt
,but neocomplete works well
EDIT: but in neovim,ctrl+p
can complete words from file1.txt
,it is same as vim ,and no issues.
Implemented.
@Shougo thanks for your work
@Shougo Thank you a lot. Works for me. But seems like there is a problem with refreshing(screen blinks, even with vb disabled) when deoplete can't find completions for a current word. I will open a new issue.
same problem with latest deoplete.
deoplete version (SHA1): 8aef99a951686488c03070d1cf1a2155837f5f1b
OS:
Linux 5.6.2-arch1-2 #1 SMP PREEMPT Sun, 05 Apr 2020 05:13:14 +0000 x86_64 GNU/Linux
neovim/Vim :version
output:
NVIM v0.4.3
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu
99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNV
IM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim/src/build/config -I/build/neovim/src/neovim-0.4.3/src -I/usr/include -I/build/neovim/src/build/src/nvim/auto -I/b
uild/neovim/src/build/include
Compiled by builduser
Features: +acl +iconv +tui
* `:checkhealth` or `:CheckHealth` result(neovim only):
"+
and "*
) will not work.
import neovim
. Using the first available executable for diagnostics.g:python3_host_prog
is not set. Searching for python3 in the environment.ruby
and gem
must be in $PATH.
ruby
and gem
commands work.node
and npm
(or yarn
) must be in $PATH.
node
and npm
(or yarn
) commands work.
## Provide a minimal init.vim/vimrc with less than 50 lines (Required!)
```vim
set runtimepath+=~/.config/nvim/plugged/deoplete.nvim/
let g:deoplete#enable_at_startup = 1
Please upload the reproduce instruction. If not, I will ignore your report.
:w
:w
and switch back to file2, completion pop-upPlease don't use "open files" description. It must be Vim commands.
"switch to file1" is also fuzzy instruction. It is not reproduce-able for me.
Can you ignore your report??
Please see original reproduce instruction. Please compare your one.
I ignore the fuzzy instruction.
sorry about fuzzy instruction.
nvim file1.txt
:vs file2.txt
file1.txt
, no expected completion pop-up<C-w>w
switch to file1.txt
, :w
<C-w>w
switch to file2.txt
, repeat step 3, completion pop-upOK. So I get it. I will fix it later.
I have fixed it.
I have fixed it.
Thanks, it works!
btw, is it able for deoplete to auto complete unsaved changes in other buffers?
reproduce steps:
nvim
:e file1
, write some words without :w
:vs file2
, input word of file1
, no expected completion pop-upOK. I have added the support. Please use the latest version.
OK. I have added the support. Please use the latest version.
seems doesn't work, have use the latest version.
commit 3c57b8405d595ad0bc7bfa46f757cce0e8258fbb (HEAD -> master, origin/master, origin/HEAD)
Author: Shougo Matsushita <Shougo.Matsu@gmail.com>
Date: Fri May 29 16:37:41 2020 +0900
Add InsertLeave autocmd
I have fixed it. Please use the latest version.
I have fixed it. Please use the latest version.
It rocks! Thanks to fix it, it bothers me for a bit of long time.
Problems summary
Completions from other buffers works only when you previously edit(current session) unfocused buffer. Vim with almost identical config and neocomplete works fine. Even
<C-x><C-p>
doesn't help, because it shows nothing, but if you first delete one letter with<BS>
when there is no pum(you don't need to delete when pum didn't popup for a current word), then you can complete from other buffers with<C-p>
only for this word.Expected
deoplete should complete words from other buffers atleast for buffers with same filetype(related to doc)
Environment Information
Linux 4.4.5-1-ARCH SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 x86_64 GNU/Linux
Provide a minimal init.vim with less than 50 lines (Required!)
The reproduce ways from neovim starting (Required!)
:e /path/to/file1.txt
or any other filetype:e /path/to/file2.txt
same filetype