aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/code/src/config.ts28
1 files changed, 14 insertions, 14 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index ccb0ee2b7..9800b461f 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -16,25 +16,25 @@ export interface CargoFeatures {
16} 16}
17 17
18export class Config { 18export class Config {
19 public highlightingOn = true; 19 highlightingOn = true;
20 public rainbowHighlightingOn = false; 20 rainbowHighlightingOn = false;
21 public enableEnhancedTyping = true; 21 enableEnhancedTyping = true;
22 public raLspServerPath = RA_LSP_DEBUG || 'ra_lsp_server'; 22 raLspServerPath = RA_LSP_DEBUG || 'ra_lsp_server';
23 public lruCapacity: null | number = null; 23 lruCapacity: null | number = null;
24 public displayInlayHints = true; 24 displayInlayHints = true;
25 public maxInlayHintLength: null | number = null; 25 maxInlayHintLength: null | number = null;
26 public excludeGlobs = []; 26 excludeGlobs = [];
27 public useClientWatching = true; 27 useClientWatching = true;
28 public featureFlags = {}; 28 featureFlags = {};
29 // for internal use 29 // for internal use
30 public withSysroot: null | boolean = null; 30 withSysroot: null | boolean = null;
31 public cargoWatchOptions: CargoWatchOptions = { 31 cargoWatchOptions: CargoWatchOptions = {
32 enable: true, 32 enable: true,
33 arguments: [], 33 arguments: [],
34 command: '', 34 command: '',
35 allTargets: true, 35 allTargets: true,
36 }; 36 };
37 public cargoFeatures: CargoFeatures = { 37 cargoFeatures: CargoFeatures = {
38 noDefaultFeatures: false, 38 noDefaultFeatures: false,
39 allFeatures: true, 39 allFeatures: true,
40 features: [], 40 features: [],
@@ -50,7 +50,7 @@ export class Config {
50 this.userConfigChanged(); 50 this.userConfigChanged();
51 } 51 }
52 52
53 public userConfigChanged() { 53 userConfigChanged() {
54 const config = vscode.workspace.getConfiguration('rust-analyzer'); 54 const config = vscode.workspace.getConfiguration('rust-analyzer');
55 55
56 let requireReloadMessage = null; 56 let requireReloadMessage = null;