aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/config.ts
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-31 02:37:27 +0000
committerGitHub <[email protected]>2019-12-31 02:37:27 +0000
commit98e20dac4edabeb0dd695110fdca29a6adc40019 (patch)
tree75d70fd728114cf3bee0bea997c9fa6c518ba3df /editors/code/src/config.ts
parent44d6ab2650bce0faac87b87ef279674d6f63f8ec (diff)
parentf984ef26528eca686abbb946b3b363dfe6d74822 (diff)
Merge #2699
2699: Switch impure functional style to pure imperative r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r--editors/code/src/config.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index e323110a4..f63d1ddce 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -1,5 +1,4 @@
1import * as vscode from 'vscode'; 1import * as vscode from 'vscode';
2import * as scopes from './scopes';
3import * as scopesMapper from './scopes_mapper'; 2import * as scopesMapper from './scopes_mapper';
4 3
5const RA_LSP_DEBUG = process.env.__RA_LSP_SERVER_DEBUG; 4const RA_LSP_DEBUG = process.env.__RA_LSP_SERVER_DEBUG;
@@ -60,7 +59,6 @@ export class Config {
60 if (config.has('highlightingOn')) { 59 if (config.has('highlightingOn')) {
61 this.highlightingOn = config.get('highlightingOn') as boolean; 60 this.highlightingOn = config.get('highlightingOn') as boolean;
62 if (this.highlightingOn) { 61 if (this.highlightingOn) {
63 scopes.load();
64 scopesMapper.load(); 62 scopesMapper.load();
65 } 63 }
66 } 64 }