Skip to content

Commit

Permalink
Another typo
Browse files Browse the repository at this point in the history
  • Loading branch information
FIameCaster committed Nov 1, 2023
1 parent d25c38c commit 188e6b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/src/extensions/search/selection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ const highlightSelectionMatches = (caseSensitive?: boolean, minLength = 1, maxLe
*
* @example
* This filters away all words that start inside a string, comment or keyword or regex token.
* Different filter functions should be chosen based on language.
* Different filter functions should be chosen based on the language.
* ```
* const selector = ".string, .comment, .keyword, .regex"
* const filter = start => !getClosestToken(editor, selector, 0, 0, start)
*
* editor.addExtensions(
* highlightCurrentword(filter)
* highlightCurrentWord(filter)
* )
* ```
*/
Expand Down

0 comments on commit 188e6b0

Please sign in to comment.