diff --git a/extensions/r/language-configuration.json b/extensions/r/language-configuration.json index dd691e2a6d4..3a2e2f34f5f 100644 --- a/extensions/r/language-configuration.json +++ b/extensions/r/language-configuration.json @@ -11,13 +11,16 @@ ["{", "}"], ["[", "]"], ["(", ")"], + ["`", "`"], { "open": "\"", "close": "\"", "notIn": ["string"] }, - { "open": "'", "close": "'", "notIn": ["string"] } + { "open": "'", "close": "'", "notIn": ["string", "comment"] }, + { "open": "%", "close": "%", "notIn": ["string", "comment"] } ], "surroundingPairs": [ ["{", "}"], ["[", "]"], ["(", ")"], + ["`", "`"], ["\"", "\""], ["'", "'"] ]