Skip to content

Commit

Permalink
Merge pull request #129 from jeronimoek/css-module-color-detection
Browse files Browse the repository at this point in the history
fix: detect css colors inside modules
  • Loading branch information
jeronimoek authored Jan 19, 2025
2 parents b5552bc + 6a58c24 commit 55beb54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/getMatches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ export async function getMatches(
)
: [];

const symbolsFiltered = symbols.filter((symbol) => symbol.kind !== 1);

const allReferences: vscode.Location[] = [];

for (const symbol of symbols) {
for (const symbol of symbolsFiltered) {
allReferences.push(
...(await getReferences(symbol, activeEditor.document.uri))
);
Expand Down

0 comments on commit 55beb54

Please sign in to comment.