diff --git a/src/key-binding.coffee b/src/key-binding.coffee index 1b39895e4..66a6dc278 100644 --- a/src/key-binding.coffee +++ b/src/key-binding.coffee @@ -19,7 +19,7 @@ class KeyBinding normalizedKeystroke.join(' ') @getParser: -> - if not KeyBinding.parser + unless KeyBinding.parser? keystrokePattern = fs.readFileSync(require.resolve('./keystroke-pattern.pegjs'), 'utf8') KeyBinding.parser = PEG.buildParser(keystrokePattern)