October 15How to configure dlang complete in vim?
Hi: Is there anybody use vim, can you shared your vim config.
October 15Re: How to configure dlang complete in vim?
Posted in reply to lili
On Tuesday, 15 October 2019 at 11:41:47 UTC, lili wrote: > Hi: > Is there anybody use vim, can you shared your vim config. Hi! You can use a Language Server plugin  with a D Language Server  to get D support in Vim. If you haven't heard of the Language Server Protocol (LSP), in a nutshell: it's a specification implemented by some editors (or editor plugins), and external programs (the "servers"). Editors use the servers to do linting, formatting, completion, etc. Any editor (or LSP plugin) can be used with any server (in theory). To get started, you can intall one of the Vim LSP plugins (maybe you already have one of the popular ones such as COC  or ALE ). Then, install a D language server; there are 2 available: Serve-D  (maintained by WebFreak) and DLS  (that I maintain). The Vim plugin you choose to use should have a README explaining how to connect them to a language server. I've only tested DLS with LanguageClient-neovim , but using any other plugins and Serve-D instead of DLS should work just as well.  https://microsoft.github.io/language-server-protocol/implementors/tools  https://microsoft.github.io/language-server-protocol/implementors/servers  https://github.com/neoclide/coc.nvim  https://github.com/dense-analysis/ale  https://github.com/Pure-D/serve-d  https://github.com/d-language-server/dls  https://github.com/autozimu/LanguageClient-neovim
Copyright © 1999-2018 by the D Language Foundation