Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- { "keys": [")"], "command": "insert", "args": {"characters": ")"}, "context":
- [
- { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
- { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
- { "key": "following_text", "operator": "regex_contains", "operand": "^\\)", "match_all": true },
- { "key": "preceding_text", "operator": "regex_contains", "operand": "[^(]$", "match_all": true }
- ]
- },
- { "keys": [")"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
- [
- { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
- { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
- { "key": "following_text", "operator": "regex_contains", "operand": "^\\)", "match_all": true },
- { "key": "preceding_text", "operator": "regex_contains", "operand": "\\($", "match_all": true }
- ]
- },
- ]
Advertisement
Add Comment
Please, Sign In to add comment