Skip to content

Commit

Permalink
Fix casing
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 committed Dec 28, 2022
1 parent 8091a01 commit 023af46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/emmetHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export function doComplete(document: TextDocument, position: Position, syntax: s
expandedAbbr.textEdit = TextEdit.replace(abbreviationRange, escapeNonTabStopDollar(addFinalTabStop(expandedText)));
expandedAbbr.documentation = replaceTabStopsWithCursors(expandedText);
expandedAbbr.insertTextFormat = InsertTextFormat.Snippet;
expandedAbbr.detail = l10n.t('Emmet abbreviation');
expandedAbbr.detail = l10n.t('Emmet Abbreviation');
expandedAbbr.label = abbreviation;
expandedAbbr.label += filter ? '|' + filter.replace(',', '|') : "";
completionItems = [expandedAbbr];
Expand Down
2 changes: 1 addition & 1 deletion src/test/emmetHelper.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ describe('Test completions', () => {

assert.ok(completionList);
assert.strictEqual(completionList.items[0].kind, CompletionItemKind.Snippet);
assert.strictEqual(completionList.items[0].detail, 'Emmet abbreviation');
assert.strictEqual(completionList.items[0].detail, 'Emmet Abbreviation');
});

it('should not provide double completions for commonly used tags that are also snippets', async () => {
Expand Down

0 comments on commit 023af46

Please # to comment.