mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
lsp: Make SemanticTokenServerCapabilities match the LSP spec
SemanticTokenSeverCapabilities doesn't deserealize because legend requires a tokenModifiers array, which not provided. See: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#semanticTokensLegend
This commit is contained in:
parent
93392e5e02
commit
9c567fe039
1 changed files with 1 additions and 0 deletions
|
@ -194,6 +194,7 @@ class LanguageServer:
|
||||||
"semanticTokensProvider": {
|
"semanticTokensProvider": {
|
||||||
"legend": {
|
"legend": {
|
||||||
"tokenTypes": ["enumMember"],
|
"tokenTypes": ["enumMember"],
|
||||||
|
"tokenModifiers": [],
|
||||||
},
|
},
|
||||||
"full": True,
|
"full": True,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue