How to configure D autocompletion in Vim?

p.shkadzko p.shkadzko at
Sat Dec 28 21:55:14 UTC 2019

On Thursday, 26 December 2019 at 18:38:23 UTC, p.shkadzko wrote:
> I'd like to set up autocompletion in Vim akin to VS Code 
> "code-d" plugin which uses DCD server for completion. According 
> to, one can use dutyl plugin 
> for this purpose. I have installed the plugin as well as 
> dcd-server/client, Dscanner and dfmt, everything that was 
> mentioned in dutyl README. However, after starting the server 
> and working on a D script I am not getting any autocompletion 
> results.
> Moreover, I simply don't know how to invoke dutyl 
> autocompletion. Although looking into the plugin source code, I 
> believe autocompletion should just work once you type "." or 
> parenthesis. It does not. This is how my .vimrc set for dutyl:
> [...]

It appears that I added to Windows PATH a bin folder with 
precompiled dmd binaries but not with phobos source files. dutyl 
requires a path to phobos sources.
Thank you guys.

More information about the Digitalmars-d mailing list