diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-31 02:37:27 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-31 02:37:27 +0000 |
commit | 98e20dac4edabeb0dd695110fdca29a6adc40019 (patch) | |
tree | 75d70fd728114cf3bee0bea997c9fa6c518ba3df /editors/code/src/config.ts | |
parent | 44d6ab2650bce0faac87b87ef279674d6f63f8ec (diff) | |
parent | f984ef26528eca686abbb946b3b363dfe6d74822 (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.ts | 2 |
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 @@ | |||
1 | import * as vscode from 'vscode'; | 1 | import * as vscode from 'vscode'; |
2 | import * as scopes from './scopes'; | ||
3 | import * as scopesMapper from './scopes_mapper'; | 2 | import * as scopesMapper from './scopes_mapper'; |
4 | 3 | ||
5 | const RA_LSP_DEBUG = process.env.__RA_LSP_SERVER_DEBUG; | 4 | const 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 | } |