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
Add Haskell to LanguageKind #1421
Add Haskell to LanguageKind #1421
Conversation
As a maintainer of the Haskell language server, I would like to be able to name my language :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See last comment
@@ -1929,6 +1929,7 @@ export namespace LanguageKind { | |||
export const Go = 'go' as const; | |||
export const Groovy = 'groovy' as const; | |||
export const Handlebars = 'handlebars' as const; | |||
export const Haskell = 'haskell' as const; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The whole enum has @since 3.18
and @proposed
, so are the individual entries not all implicitly the same? It seems a bit odd that only a few of the entries have those annotations: shouldn't all of them have it or none of them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point.
We also need to update the specification. Can you provide a PR for this as well? |
Sure. |
The current version of the 3.18 spec doesn't have |
That is correct. It maintains it as a table here: https://github.com/microsoft/language-server-protocol/blob/9c5689e6f6f93102a67a652e3d9c6e2b95c2b2eb/_specifications/lsp/3.18/types/textDocumentItem.md#L32 |
Got it: PR here: microsoft/language-server-protocol#1898 |
As a maintainer of the Haskell language server, I would like to be able to name my language :D