src/vs/workbench/contrib/notebook/browser/view/renderers/cellEditorOptions.ts/CellEditorOptions/_computeEditorOptions
class CellEditorOptions:	private _computeEditorOptions() {
		const renderLiNumbers = this.configurationService.getValue<'on' | 'off'>('notebook.lineNumbers') === 'on';
		const lineNumbers: LineNumbersType = renderLiNumbers ? 'on' : 'off';
		const editorOptions = deepClone(this.configurationService.getValue<IEditorOptions>('editor', { overrideIdentifier: this.language }));
		const layoutConfig = this.notebookOptions.getLayoutConfiguration();
		const cellBreakpointMargin = layoutConfig.cellBreakpointMarginActive;
		const editorOptionsOverrideRaw = layoutConfig.editorOptionsCustomizations ?? {};
		let editorOptionsOverride: { [key: string]: any; } = {};
		for (let key in editorOptionsOverrideRaw) {
			if (key.indexOf('editor.') === 0) {
				editorOptionsOverride[key.substr(7)] = editorOptionsOverrideRaw[key];
			}
		}
		const computed = {
			...editorOptions,
			...CellEditorOptions.fixedEditorOptions,
			... { lineNumbers },
			...editorOptionsOverride,
			...{ padding: { top: 12, bottom: 12 } },
			readonly: this.notebookEditor.viewModel?.options.isReadOnly ?? false,
			glyphMargin: cellBreakpointMargin
		};

		if (!computed.folding) {
			computed.lineDecorationsWidth = 16;
		}

		return computed;
	}