fix: Removed redundant code for exact matches

This commit is contained in:
newtextdoc1111
2025-05-08 00:07:35 +09:00
parent dc325e32d3
commit 9123944a8c
+1 -1
View File
@@ -571,7 +571,7 @@ function findCompletionCandidates(query) {
// Check primary tag against all variations for exact match first
for (const variation of queryVariations) {
if (lowerTag === variation || lowerTag === variation.replace(/[\-_\s]/g, '')) {
if (lowerTag === variation) {
isExactMatch = true;
matched = true;
break;