mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 05:05:44 +01:00
Precompute completion string matching function.
This commit is contained in:
@@ -167,9 +167,9 @@ const Events = Module("events", {
|
||||
* @param {string} macro The name for the macro.
|
||||
*/
|
||||
startRecording: function (macro) {
|
||||
// TODO: ignore this like Vim?
|
||||
dactyl.assert(/[a-zA-Z0-9]/.test(macro),
|
||||
"E354: Invalid register name: '" + macro + "'");
|
||||
// TODO: ignore this like Vim?
|
||||
dactyl.assert(/[a-zA-Z0-9]/.test(macro),
|
||||
"E354: Invalid register name: '" + macro + "'");
|
||||
|
||||
modes.isRecording = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user