mirror of
https://github.com/atom/atom.git
synced 2026-02-06 20:55:33 -05:00
4 lines
192 B
JavaScript
4 lines
192 B
JavaScript
keystrokePattern = key:key additionalKeys:additionalKey* { return [key].concat(additionalKeys); }
|
|
additionalKey = '-' key:key { return key; }
|
|
key = '-' / chars:[^-]+ { return chars.join('') }
|