mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -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('') }
|