atom / atom-languageclient

Language Server Protocol support for Atom (the basis of Atom-IDE)
https://ide.atom.io/
MIT License
389 stars 78 forks source link

Add configuration watching to send `workspace/didChangeConfiguration` #167

Closed daviwil closed 6 years ago

daviwil commented 6 years ago

This change adds logic to AutoLanguageClient so that a language package can opt-in to having a specific configuration section watched for changes so that workspace/didChangeConfiguration notifications are sent to the language server. Language packages can opt-in by implementing the getRootConfigurationKey method and optionally the filterConfigurationObject method to manipulate the configuration object before it gets sent to the language server.

daviwil commented 6 years ago

Argh, forgot to lint again :/

daviwil commented 6 years ago

OK to merge this?