Hi,
If I hit "[" a few times I get "[[[]]]" and If I hit "(" a few times I get "((()))" and if I hit "{" a few times I get "{{{}"
This is a bug or a feature?
P.S. sry for my english (
squ1b3r wrote:Hi,
If I hit "[" a few times I get "[[[]]]" and If I hit "(" a few times I get "((()))" and if I hit "{" a few times I get "{{{}"
This is a bug or a feature?
P.S. sry for my english (
jbrooksuk wrote:Seems like a bug to be honest.
// Auto-pair curly brackets
{ "keys": ["{"], "command": "insert_snippet", "args": {"contents": "{$0}"}, "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": "^(?:\t| |\\)|]|$)", "match_all": true }
]
},
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|$)", "match_all": true }
Users browsing this forum: Google [Bot] and 5 guests