This is a plugin to simplify the configuration of ddc.vim.
Note: This Plugin depends on ddc.vim and dein.vim, and ddc.vim requires Neovim (0.5.0+ and of course, latest is recommended) or Vim 8.2.0662.
Execute the following commands to install Deno according to your OS and architecture.
curl -fsSL https://deno.land/x/install/install.sh | sh
iwr https://deno.land/x/install/install.ps1 -useb | iex
# After installing cargo, build Deno.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
git clone https://github.com/denoland/deno_install.git
cd deno_install
cargo install deno --locked
If you want more information, please look here.
call dein#begin()
call dein#add('Shougo/ddc.vim')
call dein#add('vim-denops/denops.vim')
call dein#add('Chatyusha/easy-ddc.vim')
call dein#end()
option | meaning | default |
---|---|---|
ddc_sources | ddc sources to use | ['ddc-around','default'] |
The list of ddc-sources supported by this plugin, and templates are in ./tmp
I am going to add more ddc-source templates in the future.
template name | repository |
---|---|
default | Shougo/ddc-macher_head and Shougo/ddc-sorter_rank |
ddc-around | Shougo/ddc-around |
ddc-omni | Shougo/ddc-omni |
ddc-vim-lsp | shun/ddc-vim-lsp |
ddc-file | LumaKernel/ddc-file |
Make an array of the ddc-sources you want to use and assign it to the global variable ddc_sources.(default [default, ddc-around]
),
and then run call easyddc#install_sources()
You can choose ddc-sources from templates.
For example, when you use default
and ddc-around
, set the global valiable ddc_sources as follows,
let g:ddc_sources = ['default', 'ddc-around']
(vimrc/init.vim)
let g:ddc_sources = ['default', 'ddc-around']