Skip to content

Commit 5abccf4

Browse files
Clean up comment
1 parent 754b5b6 commit 5abccf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cursorless-engine/src/util/allocateHats/chooseTokenHat.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ export function chooseTokenHat(
7676
// Narrow to the hats with the lowest penalty
7777
negativePenalty,
7878

79-
// 5. Avoid the first grapheme of the token if possible
79+
// Avoid the first grapheme of the token if possible
8080
avoidFirstLetter,
8181

82-
// 6. Prefer hats that sit on a grapheme that doesn't appear in any highly
82+
// Prefer hats that sit on a grapheme that doesn't appear in any highly
8383
// ranked token
8484
minimumTokenRankContainingGrapheme(tokenRank, graphemeTokenRanks),
8585
])!;

0 commit comments

Comments
 (0)