make semantic token configuration an enum

This commit is contained in:
Veikka Tuominen
2023-03-14 19:23:57 +02:00
committed by Lee Cannon
parent e1d90a1a1b
commit 61b42ca63a
9 changed files with 97 additions and 23 deletions

View File

@@ -24,10 +24,15 @@
"type": "boolean",
"default": "true"
},
"enable_semantic_tokens": {
"description": "Enables semantic token support when the client also supports it",
"type": "boolean",
"default": "true"
"semantic_tokens": {
"description": "Set level of semantic tokens. Partial only includes information that requires semantic analysis.",
"type": "string",
"enum": [
"none",
"partial",
"full"
],
"default": "full"
},
"enable_inlay_hints": {
"description": "Enables inlay hint support when the client also supports it",