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:
Angelo
2022-07-21 13:19:01 +02:00
committed by GitHub
parent 6cad4b9494
commit cef02dae8d
10 changed files with 205 additions and 41 deletions

View File

@@ -36,6 +36,12 @@
"scopeName": "text.html.handlebars",
"path": "./syntaxes/Handlebars.tmLanguage.json"
}
],
"htmlLanguageParticipants": [
{
"languageId": "handlebars",
"autoInsert": true
}
]
},
"repository": {