From a4d0aebcb89367d23600d0f14ba2c7f1cd0bbb44 Mon Sep 17 00:00:00 2001 From: Ville Penttinen Date: Thu, 7 Feb 2019 12:54:41 +0200 Subject: Run prettier --- editors/code/src/config.ts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'editors') diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index d49917c78..4e353798c 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -29,7 +29,9 @@ export class Config { } if (config.has('enableEnhancedTyping')) { - this.enableEnhancedTyping = config.get('enableEnhancedTyping') as boolean; + this.enableEnhancedTyping = config.get( + 'enableEnhancedTyping' + ) as boolean; if (this.prevEnhancedTyping === null) { this.prevEnhancedTyping = this.enableEnhancedTyping; @@ -40,16 +42,21 @@ export class Config { if (this.prevEnhancedTyping !== this.enableEnhancedTyping) { const reloadAction = 'Reload now'; - vscode.window.showInformationMessage('Changing enhanced typing setting requires a reload', reloadAction) + vscode.window + .showInformationMessage( + 'Changing enhanced typing setting requires a reload', + reloadAction + ) .then(selectedAction => { if (selectedAction === reloadAction) { - vscode.commands.executeCommand('workbench.action.reloadWindow'); + vscode.commands.executeCommand( + 'workbench.action.reloadWindow' + ); } }); this.prevEnhancedTyping = this.enableEnhancedTyping; } - if (config.has('raLspServerPath')) { this.raLspServerPath = RA_LSP_DEBUG || (config.get('raLspServerPath') as string); -- cgit v1.2.3