Explorar el Código

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 hace 4 años
padre
commit
f3cb047e98
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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: '}' },
 		{ open: '(', close: ')' },
 		{ open: '(', close: ')' },
-		{ open: "'", close: "'", notIn: ['string', 'comment'] },
 		{ open: '"', close: '"', notIn: ['string'] }
 		{ open: '"', close: '"', notIn: ['string'] }
 	],
 	],
 	surroundingPairs: [
 	surroundingPairs: [