-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ColorServerCapabilities colorProvider should accept boolean too? #349
Milestone
Comments
@aeschli can you please comment. |
Boolean is fine for the color provider too, so I added it to the spec. I change our code to use |
aeschli
added a commit
to microsoft/vscode
that referenced
this issue
May 15, 2018
Vscode-Extractor
pushed a commit
to vscode-langservers/vscode-css-languageserver
that referenced
this issue
May 15, 2018
Vscode-Extractor
pushed a commit
to vscode-langservers/vscode-html-languageserver
that referenced
this issue
May 15, 2018
Vscode-Extractor
pushed a commit
to vscode-langservers/vscode-json-languageserver
that referenced
this issue
May 15, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The declaration of
ColorServerCapabilities#colorProvider
https://github.com/Microsoft/vscode-languageserver-node/blob/eca5fd2f23529315d53b9dad98377fb968ceba56/protocol/src/protocol.colorProvider.ts#L39 doesn't accept a simple boolean (the specification says that too), but the CSS, HTML, JSON Language Server returns a simple booleancolorProvider : true
In my case I cannot consume CSS, HTML, JSON Language Server with LSP4j which doesn't accept a boolean for colorProvider. Could you give me clarification about the use of this boolean please (is an error of CSS, HTML, JSON Language Server or a miss of specification?) Thanks!
The text was updated successfully, but these errors were encountered: