src/vs/editor/common/languages/languageConfiguration.ts/StandardAutoClosingPairConditional/shouldAutoClose
class StandardAutoClosingPairConditional:	public shouldAutoClose(context: ScopedLineTokens, column: number): boolean {
		// Always complete on empty line
		if (context.getTokenCount() === 0) {
			return true;
		}

		const tokenIndex = context.findTokenIndexAtOffset(column - 2);
		const standardTokenType = context.getStandardTokenType(tokenIndex);
		return this.isOK(standardTokenType);
	}