mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-19 08:07:28 +03:00
Merge branch 'master' into perf
This commit is contained in:
commit
6a36969dd4
@ -19,6 +19,10 @@ export class Notation {
|
||||
* (e.g. <space>, <cr>, <leader>)
|
||||
*/
|
||||
public static NormalizeKey(key: string, leaderKey: string): string {
|
||||
if (typeof key !== 'string') {
|
||||
return key;
|
||||
}
|
||||
|
||||
if (!this.isSurroundedByAngleBrackets(key) && key.length > 1) {
|
||||
key = `<${key.toLocaleLowerCase()}>`;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user