Skip to content

Commit d3bc3cd

Browse files
committed
Ignore case when fuzzy matching microsoft/vscode#33994
1 parent dc53121 commit d3bc3cd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/expand/expand-full.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ function eatUnquoted(stream) {
13561356

13571357
function isUnquoted(code) {
13581358
return !isSpace(code) && !isQuote(code)
1359-
&& code !== ATTR_CLOSE && code !== EQUALS;
1359+
&& code !== ATTR_CLOSE && code !== EQUALS;
13601360
}
13611361

13621362
const HASH = 35; // #
@@ -4294,6 +4294,9 @@ const DASH$1$1 = 45; // -
42944294
* @return {Number} Match score
42954295
*/
42964296
var stringScore = function(abbr, string) {
4297+
abbr = abbr.toLowerCase();
4298+
string = string.toLowerCase();
4299+
42974300
if (abbr === string) {
42984301
return 1;
42994302
}

0 commit comments

Comments
 (0)