瀏覽代碼

Remove ' as an auto-closing pair for Rust

They're bad for Rust lifetimes.

Fixes https://github.com/microsoft/monaco-editor/issues/2585.
Alyssa Haroldsen 4 年之前
父節點
當前提交
f3cb047e98
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/rust/rust.ts

+ 0 - 1
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: [