Skip to content

Error if keymap file has bindings to disabled package #9

Description

@medisun

If *.sublime-keymap has binding to disabled package then package doesn't work.

For example
{ "keys": ["ctrl+alt+{"], "command": "move_to", "args": {"to": "{", "extend": false} }

Sublime console write:
Unable to parse binding {key: following_text, keys: [ctrl+alt+{], match_all: false, operand: , operator: regex_contains}

Now pressing shift+f10 the console write:
Traceback (most recent call last): File "./sublime_plugin.py", line 362, in run_ File "./boundkeys.py", line 373, in run File "./boundkeys.py", line 93, in getOutput KeyError: 'command'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions