add option to disable notify
This commit is contained in:
@@ -23,6 +23,7 @@ export class Config {
|
||||
public lruCapacity: null | number = null;
|
||||
public displayInlayHints = true;
|
||||
public excludeGlobs = [];
|
||||
public useClientWatching = false;
|
||||
public featureFlags = {};
|
||||
public cargoWatchOptions: CargoWatchOptions = {
|
||||
enableOnStartup: 'ask',
|
||||
@@ -133,6 +134,9 @@ export class Config {
|
||||
if (config.has('excludeGlobs')) {
|
||||
this.excludeGlobs = config.get('excludeGlobs') || [];
|
||||
}
|
||||
if (config.has('useClientWatching')) {
|
||||
this.useClientWatching = config.get('useClientWatching') || false;
|
||||
}
|
||||
if (config.has('featureFlags')) {
|
||||
this.featureFlags = config.get('featureFlags') || {};
|
||||
}
|
||||
|
||||
@@ -46,6 +46,7 @@ export class Server {
|
||||
Server.config.showWorkspaceLoadedNotification,
|
||||
lruCapacity: Server.config.lruCapacity,
|
||||
excludeGlobs: Server.config.excludeGlobs,
|
||||
useClientWatching: Server.config.useClientWatching,
|
||||
featureFlags: Server.config.featureFlags
|
||||
},
|
||||
traceOutputChannel
|
||||
|
||||
Reference in New Issue
Block a user