Closed blithefeng closed 2 years ago
You should know what is ddc.vim. It works as expected. You don't configure to complete when inserting dot.
call ddc#custom#patch_global('sourceOptions', {
\ 'nvim-lsp': {
\ 'mark': 'lsp',
\ 'forceCompletionPattern': '\.\w*|:\w*|->\w*' },
\ })
You should read the plugin documentation.
Note: You don't configure both matcher_head
and sorter_rank
. It does not work. ddc.vim is not zero configuration plugin,
Configure vim using ddc and vim-lsp as source
Why the configuration is not exists in your minimal vimrc?
Sorry for incomplete information. With "forceCompletionPattern" It works good. Thanks!
Problems summary
I configured ddc.vim and vim-lsp as source. When I edited a file in a "go.mod" project,
<Tab>
can trigger a complete as expected. But there's no complete when i insert a dotExpected
a complete popup should show up
Environment Information
ddc.vim version (SHA1): 15eb314d
denops.vim version (SHA1): 333aa178
deno version(
deno -V
output): deno 1.17.3OS: MacOS Monterey
neovim/Vim
:version
output::checkhealth
or:CheckHealth
result(neovim only):Provide a minimal init.vim/vimrc with less than 50 lines (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
Screenshot (if possible)