Skip to content

Commit

Permalink
[handlebars] code-folding algorithm is less useful than Indentation-b…
Browse files Browse the repository at this point in the history
…ased one. Fixes #48457
  • Loading branch information
aeschli committed May 28, 2018
1 parent 80ae899 commit e3635ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/html-language-features/client/src/htmlMain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export function activate(context: ExtensionContext) {
}
return void 0;
}
return languages.registerFoldingRangeProvider(documentSelector, {
return languages.registerFoldingRangeProvider('html', {
provideFoldingRanges(document: TextDocument, context: FoldingContext, token: CancellationToken) {
const param: FoldingRangeRequestParam = {
textDocument: client.code2ProtocolConverter.asTextDocumentIdentifier(document)
Expand Down

0 comments on commit e3635ac

Please sign in to comment.