diff --git a/CHANGELOG.md b/CHANGELOG.md index 0011f60..10f6818 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the extension will be documented in this file. -## [2.0.4] - 2024-01-01 +## [2.0.5] - 2024-01-01 - Go to definition support - Ported to custom parser diff --git a/package-lock.json b/package-lock.json index 3fd8b72..ac5a379 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-html-css", - "version": "2.0.4", + "version": "2.0.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-html-css", - "version": "2.0.4", + "version": "2.0.5", "license": "MIT", "devDependencies": { "@rollup/plugin-commonjs": "^25.0.7", diff --git a/package.json b/package.json index db9b716..5a9c158 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-html-css", "displayName": "HTML CSS Support", "description": "CSS Intellisense for HTML", - "version": "2.0.4", + "version": "2.0.5", "license": "MIT", "publisher": "ecmel", "author": { diff --git a/src/parser.ts b/src/parser.ts index 85658fb..d3d86e2 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -6,7 +6,7 @@ import lineColumn from "line-column"; const regex = - /([.#])(-?[_a-zA-Z]+[_a-zA-Z0-9-]*)(?=[\s:,.#_a-zA-Z0-9-]*{[^}]*})/g; + /([.#])(-?[_a-zA-Z]+[_a-zA-Z0-9-]*)(?=[#.,\s\[\]\^:*"'=_a-zA-Z0-9-]*{[^}]*})/g; export const enum StyleType { ID = "#",