From f3cb047e98dd023cdd107660121091e17f0e5885 Mon Sep 17 00:00:00 2001 From: Alyssa Haroldsen Date: Fri, 23 Jul 2021 18:08:15 -0700 Subject: [PATCH] Remove ' as an auto-closing pair for Rust They're bad for Rust lifetimes. Fixes https://github.com/microsoft/monaco-editor/issues/2585. --- src/rust/rust.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rust/rust.ts b/src/rust/rust.ts index c9f45f3d..7be13185 100644 --- a/src/rust/rust.ts +++ b/src/rust/rust.ts @@ -19,7 +19,6 @@ export const conf: languages.LanguageConfiguration = { { open: '[', close: ']' }, { open: '{', close: '}' }, { open: '(', close: ')' }, - { open: "'", close: "'", notIn: ['string', 'comment'] }, { open: '"', close: '"', notIn: ['string'] } ], surroundingPairs: [