I managed after some tuning.
cat coc-settings.json
```
{
                "languageserver": {
                "d": {
                        "command": "/usr/home/x/serve-d/serve-d",
                        "filetypes": ["d"],
                        "trace.server": "on",
                        "rootPatterns": ["dub.json", "dub.sdl"],
                        "initializationOptions": {
                        },
                        "settings": {
                        }
                }
        },
        "suggest.autoTrigger": "none",
        "suggest.noselect": false
}
```



cat init.vim
```
call plug#begin()
"--------------------------------------------------------------------
Plug 'neovim/nvim-lspconfig'
Plug 'idanarye/vim-dutyl'
Plug 'landaire/deoplete-d'
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
call plug#end()
let g:ycm_language_server = [
            \ {
            \     'name': 'd',
            \     'cmdline': ['/usr/home/x/serve-d/serve-d'],
            \     'filetypes': ['d'],
            \ }]
let g:deoplete#sources#d#dcd_client_binary = 'dcd-client'
let g:deoplete#sources#d#dcd_server_binary = 'dcd-server'
let g:deoplete#sources#d#dcd_server_autostart = 1
```

Reply via email to