diff options
| author | Connor Skees <connor1skees@gmail.com> | 2023-09-26 06:31:16 +0000 |
|---|---|---|
| committer | Connor Skees <connor1skees@gmail.com> | 2023-09-26 06:36:37 +0000 |
| commit | 6ca48d98c46885b27e04ac9bcfbb3b563282ac6c (patch) | |
| tree | 090aa135cc10d57f5d42e5583e55dcfd2f73c043 /editors/code | |
| parent | d3cc3bc00e310ff49268ce0c593eaa6bf4724bbd (diff) | |
| download | rust-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.json | 6 |
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": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$", |
