Better paired operators for R (#155882)

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
This commit is contained in:
Michael Chirico 2022-09-13 00:37:21 -07:00 committed by GitHub
parent 1a55beb2aa
commit 77dd5f36d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,13 +11,16 @@
["{", "}"],
["[", "]"],
["(", ")"],
["`", "`"],
{ "open": "\"", "close": "\"", "notIn": ["string"] },
{ "open": "'", "close": "'", "notIn": ["string"] }
{ "open": "'", "close": "'", "notIn": ["string", "comment"] },
{ "open": "%", "close": "%", "notIn": ["string", "comment"] }
],
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["`", "`"],
["\"", "\""],
["'", "'"]
]