about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2019-12-31 17:28:27 +0100
committerAleksey Kladov <aleksey.kladov@gmail.com>2019-12-31 17:28:27 +0100
commit76f283108b5fc7aeb105eee0e5d44cae2ffab173 (patch)
tree44a071e09f69d12ab26da9509dc9c23d6ad1f77a /editors/code/src
parent433000be34eafd052addd91afd605a81e137a433 (diff)
downloadrust-76f283108b5fc7aeb105eee0e5d44cae2ffab173.tar.gz
rust-76f283108b5fc7aeb105eee0e5d44cae2ffab173.zip
Drop needless pubs
Diffstat (limited to 'editors/code/src')
-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 ccb0ee2b7ec..9800b461f78 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -16,25 +16,25 @@ export interface CargoFeatures {
 }
 
 export class Config {
-    public highlightingOn = true;
-    public rainbowHighlightingOn = false;
-    public enableEnhancedTyping = true;
-    public raLspServerPath = RA_LSP_DEBUG || 'ra_lsp_server';
-    public lruCapacity: null | number = null;
-    public displayInlayHints = true;
-    public maxInlayHintLength: null | number = null;
-    public excludeGlobs = [];
-    public useClientWatching = true;
-    public featureFlags = {};
+    highlightingOn = true;
+    rainbowHighlightingOn = false;
+    enableEnhancedTyping = true;
+    raLspServerPath = RA_LSP_DEBUG || 'ra_lsp_server';
+    lruCapacity: null | number = null;
+    displayInlayHints = true;
+    maxInlayHintLength: null | number = null;
+    excludeGlobs = [];
+    useClientWatching = true;
+    featureFlags = {};
     // for internal use
-    public withSysroot: null | boolean = null;
-    public cargoWatchOptions: CargoWatchOptions = {
+    withSysroot: null | boolean = null;
+    cargoWatchOptions: CargoWatchOptions = {
         enable: true,
         arguments: [],
         command: '',
         allTargets: true,
     };
-    public cargoFeatures: CargoFeatures = {
+    cargoFeatures: CargoFeatures = {
         noDefaultFeatures: false,
         allFeatures: true,
         features: [],
@@ -50,7 +50,7 @@ export class Config {
         this.userConfigChanged();
     }
 
-    public userConfigChanged() {
+    userConfigChanged() {
         const config = vscode.workspace.getConfiguration('rust-analyzer');
 
         let requireReloadMessage = null;