Show type decorators

This commit is contained in:
Kirill Bulatov 2019-07-23 16:38:21 +03:00
parent 1d68e6171e
commit 169e69d217
5 changed files with 175 additions and 1 deletions

View file

@ -21,6 +21,7 @@ export class Config {
public raLspServerPath = RA_LSP_DEBUG || 'ra_lsp_server';
public showWorkspaceLoadedNotification = true;
public lruCapacity: null | number = null;
public displayInlayHints = true;
public cargoWatchOptions: CargoWatchOptions = {
enableOnStartup: 'ask',
trace: 'off',
@ -123,5 +124,9 @@ export class Config {
if (config.has('lruCapacity')) {
this.lruCapacity = config.get('lruCapacity') as number;
}
if (config.has('displayInlayHints')) {
this.displayInlayHints = config.get('displayInlayHints') as boolean;
}
}
}