Skip to content

Commit f08f280

Browse files
committed
Released 1.4.4
1 parent 55bd390 commit f08f280

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to the extension will be documented in this file.
44

5+
## [1.4.4] - 2020-12-27
6+
7+
- Fixed regex.
8+
59
## [1.4.3] - 2020-12-27
610

711
- Fixed regex.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-html-css",
33
"displayName": "HTML CSS Support",
44
"description": "CSS Intellisense for HTML",
5-
"version": "1.4.3",
5+
"version": "1.4.4",
66
"publisher": "ecmel",
77
"license": "MIT",
88
"homepage": "https://github.com/ecmel/vscode-html-css",

src/completion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ export class SelectorCompletionItemProvider implements CompletionItemProvider, D
312312
- attribute[3].length
313313
+ attribute[3].indexOf(attribute[2]);
314314

315-
const findSelector = /([\w\-]+)(?![\w\-\s]*[%}]+)/gi;
315+
const findSelector = /([a-zA-Z0-9_\-]+)(?![^%(){}[\]]*[%)}\]]+)/gi;
316316

317317
let value;
318318

0 commit comments

Comments
 (0)