You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add language server support for various flavours of YAML files: Spring Boot application properties YAML, Cloud Foundry application deployment manifest YAML etc. Each of these different flavours of YAML should get its own validation/reconciling, content assist, hovers etc.
The only way to accomplish this is pass documentSelector parameter with DocumentFilter object that has a pattern property such that i can at least provide differrent YAML support for different YAML file names. LanguageClientOptions only accepts string|string[] :-(
Should be relatively straight-forward to make LanguageClient support documentSelector with DocumentFilter values (DocumentSelector: string | DocumentFilter | string | DocumentFilter[])... In fact all features are supported already except for doc changes synchronization code.
Any chance this can be fixed soon?
I can't register for a pattern etc
The text was updated successfully, but these errors were encountered: