about summary refs log tree commit diff
path: root/editors/code
diff options
context:
space:
mode:
authorConnor Skees <connor1skees@gmail.com>2023-09-26 06:31:16 +0000
committerConnor Skees <connor1skees@gmail.com>2023-09-26 06:36:37 +0000
commit6ca48d98c46885b27e04ac9bcfbb3b563282ac6c (patch)
tree090aa135cc10d57f5d42e5583e55dcfd2f73c043 /editors/code
parentd3cc3bc00e310ff49268ce0c593eaa6bf4724bbd (diff)
downloadrust-6ca48d98c46885b27e04ac9bcfbb3b563282ac6c.tar.gz
rust-6ca48d98c46885b27e04ac9bcfbb3b563282ac6c.zip
feat: add backtick to surrounding and auto-closing pairs
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/language-configuration.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/editors/code/language-configuration.json b/editors/code/language-configuration.json
index 51f0e65f4fd..1c348b63f1a 100644
--- a/editors/code/language-configuration.json
+++ b/editors/code/language-configuration.json
@@ -18,7 +18,8 @@
         { "open": "[", "close": "]" },
         { "open": "(", "close": ")" },
         { "open": "\"", "close": "\"", "notIn": ["string"] },
-        { "open": "/*", "close": " */" }
+        { "open": "/*", "close": " */" },
+        { "open": "`", "close": "`", "notIn": ["string"] }
     ],
     "autoCloseBefore": ";:.,=}])> \n\t",
     "surroundingPairs": [
@@ -27,7 +28,8 @@
         ["(", ")"],
         ["<", ">"],
         ["\"", "\""],
-        ["'", "'"]
+        ["'", "'"],
+        ["`", "`"]
     ],
     "indentationRules": {
         "increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$",