mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Contribute to html language server with a custom language. (#146731)
* Contribute to html language server with a custom language. Fixes #146730 Signed-off-by: azerr <azerr@redhat.com> * refactor out LanguageParticipants * restart client on language selector change * htmlLanguage -> htmlLanguageParticipants * tune autoInsert wording * tune autoInsert description Co-authored-by: azerr <azerr@redhat.com> Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
This commit is contained in:
@@ -13,6 +13,23 @@
|
||||
"type": "string",
|
||||
"description": "Relative path to a HTML custom data file"
|
||||
}
|
||||
},
|
||||
"htmlLanguageParticipants": {
|
||||
"type": "array",
|
||||
"description": "A list of languages that participate with the HTML language server.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"languageId": {
|
||||
"type": "string",
|
||||
"description": "The id of the language that participates with HTML language server."
|
||||
},
|
||||
"autoInsert": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the language participates with HTML auto insertions. If not specified, defaults to <code>true</code>."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user