mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Make hint -f case insensitive
This commit is contained in:
parent
76f7100987
commit
ede58e479c
1 changed files with 1 additions and 1 deletions
|
@ -722,7 +722,7 @@ export function hintByText(match: string|RegExp) {
|
||||||
if (match instanceof RegExp) {
|
if (match instanceof RegExp) {
|
||||||
return text.match(match) !== null
|
return text.match(match) !== null
|
||||||
} else {
|
} else {
|
||||||
return text.includes(match)
|
return text.toUpperCase().includes(match.toUpperCase())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
|
Loading…
Add table
Reference in a new issue