Add ! as stylesheet trigger character for Emmet, fixes #117020

This commit is contained in:
Raymond Zhao
2021-02-19 18:39:07 +00:00
committed by GitHub
parent 68a4faad81
commit d29d7e023b
2 changed files with 13 additions and 6 deletions

View File

@@ -37,6 +37,13 @@ suite('Tests for completion in CSS embedded in HTML', () => {
{ label: 'widows: ;', documentation: `widows: ;` }
]);
});
// https://github.com/microsoft/vscode/issues/117020
test('#117020, ! at end of abbreviation should have completion', async () => {
await testCssCompletionProvider(`.foo { bdbn!| }`, [
{ label: 'border-bottom: none !important;', documentation: `border-bottom: none !important;` }
]);
});
});
interface TestCompletionItem {