d-language-server / dls

A Language Server implementation for D
http://dls.dub.pm
106 stars 15 forks source link

Dscanner configuration is not updated when DLS configuration is changed #41

Closed krendil closed 5 years ago

krendil commented 5 years ago

DLS doesn't look at the new value of d.dls.analysis.configFile when it receives a workspace/didChangeConfiguration message. This is especially problem when using LanguageClient-neovim, which sets the workspace directory (and thereby loads the analysis tool) before sending the configuration. This causes it to effectively ignore the d.dls.analysis.configFile setting.