Skip to content

Commit

Permalink
Released 1.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmel committed Dec 27, 2020
1 parent 55bd390 commit f08f280
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

## [1.4.4] - 2020-12-27

- Fixed regex.

## [1.4.3] - 2020-12-27

- Fixed regex.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-html-css",
"displayName": "HTML CSS Support",
"description": "CSS Intellisense for HTML",
"version": "1.4.3",
"version": "1.4.4",
"publisher": "ecmel",
"license": "MIT",
"homepage": "https://github.com/ecmel/vscode-html-css",
Expand Down
2 changes: 1 addition & 1 deletion src/completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export class SelectorCompletionItemProvider implements CompletionItemProvider, D
- attribute[3].length
+ attribute[3].indexOf(attribute[2]);

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

let value;

Expand Down

0 comments on commit f08f280

Please sign in to comment.