Open Shougo opened 8 years ago
Hello, sorry for the possibly tedious answer... I was looking at @richox gif using neco-vim and exploring g:deplete variables and I've realized that, although I am able to see all functions after typing call deoplete
, when I type let g:deoplete I only see a few vars from deoplete...
It is feature.
I have removed old variables in deoplete.
Please use deoplete#custom#option()
instead.
:help deoplete-options
@Shougo thank you for your prompt reply! I see, but If I call deoplete#custom#option()
I'll have to redefine also default values that I am already ok with... or am I missing something? also... since I am here... is it possible to trigger deoplete completion manually without typing any character? I like to have autocompletion as I type, and I am ok with min_pattern_length = 2
and complete_method = "complete"
, but I'd like to call deoplete#mappings#manual_complete()
(i.e. with imap <expr> <C-Space> deoplete#mappings#manual_complete()
) from any point to see top level modules and variables for example
Thank you again!
I'll have to redefine also default values that I am already ok with... or am I missing something?
You don't have to set all options. Please read the documentation...
is it possible to trigger deoplete completion manually without typing any character?
Possible.
Please use deoplete#manual_complete()
like this.
imap <expr><C-Space> deoplete#manual_complete()
thank you @Shougo, I feel bad for this off topic, but what I was aiming for is to be able to press <C-Space>
also on a blank line, not after a character.
https://stackoverflow.com/questions/50719034/manually-trigger-deoplete-anywhere-to-explore-top-level-names
It is bug of neovim. I will fix it later.
I have fixed the manual completion error. No problem.
this is exactly the behavior I expected! thanks!
but....
The process remains there hanging even after i close neovim. It happens only if I call manual completion after a whitespace, not after or within a word.
Also, the problem seems to arise only on a [New Buffer] type of buffer (i.e. no filetype specified or unsaved?). I am not able to reproduce this consistently though. It might depend on call deoplete#custom#option('max_list', 100000)
and wellle/tmux-complete.vim
from which the most of the candidates are coming from.
I don't think it is your bug, but advise users to be careful about "unexpected behavior" when using this feature in some circumstances, as it is likely that literally all available candidates from all sources will try to populate the list!
Thank you again Shougo
The process remains there hanging even after i close neovim. It happens only if I call manual completion after a whitespace, not after or within a word.
I don't work for the problem. Because, you don't create the issue.
Also, the problem seems to arise only on a [New Buffer] type of buffer (i.e. no filetype specified or unsaved?). I am not able to reproduce this consistently though. It might depend on call deoplete#custom#option('max_list', 100000) and wellle/tmux-complete.vim from which the most of the candidates are coming from.
I think it seems tmux-complete.vim problem.
You have said I want to get all candidates
.
It is your expected behavior.
The input check should be added.
スクリーンショット。 これが、Ruby入力補完辞書を搭載したねこだるまの力(リスト)だ。
OK. I have updated it.
hi, i've just switched to neovim from vs code. i am expecting the auto complete color scheme to be more readable and easy on eye. is it possible?? Please answer to a noob.
This site is not Q/A site.
And you should read deoplete documentation.
Q: Is there a way to control the colors used for popup menu using highlight
groups?
A: Like this:
>
highlight Pmenu ctermbg=8 guibg=#606060
highlight PmenuSel ctermbg=1 guifg=#dddd00 guibg=#1f82cd
highlight PmenuSbar ctermbg=0 guibg=#d6d6d6
<
Here's some Rust code with autozimu/LanguageClient-neovim
and deoplete. :)
Thanks.
I want to add the screenshots in README. If you have good screenshots for deoplete README, can you add it in this issue?