mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Drop needless pubs
This commit is contained in:
parent
433000be34
commit
76f283108b
@ -16,25 +16,25 @@ export interface CargoFeatures {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class Config {
|
export class Config {
|
||||||
public highlightingOn = true;
|
highlightingOn = true;
|
||||||
public rainbowHighlightingOn = false;
|
rainbowHighlightingOn = false;
|
||||||
public enableEnhancedTyping = true;
|
enableEnhancedTyping = true;
|
||||||
public raLspServerPath = RA_LSP_DEBUG || 'ra_lsp_server';
|
raLspServerPath = RA_LSP_DEBUG || 'ra_lsp_server';
|
||||||
public lruCapacity: null | number = null;
|
lruCapacity: null | number = null;
|
||||||
public displayInlayHints = true;
|
displayInlayHints = true;
|
||||||
public maxInlayHintLength: null | number = null;
|
maxInlayHintLength: null | number = null;
|
||||||
public excludeGlobs = [];
|
excludeGlobs = [];
|
||||||
public useClientWatching = true;
|
useClientWatching = true;
|
||||||
public featureFlags = {};
|
featureFlags = {};
|
||||||
// for internal use
|
// for internal use
|
||||||
public withSysroot: null | boolean = null;
|
withSysroot: null | boolean = null;
|
||||||
public cargoWatchOptions: CargoWatchOptions = {
|
cargoWatchOptions: CargoWatchOptions = {
|
||||||
enable: true,
|
enable: true,
|
||||||
arguments: [],
|
arguments: [],
|
||||||
command: '',
|
command: '',
|
||||||
allTargets: true,
|
allTargets: true,
|
||||||
};
|
};
|
||||||
public cargoFeatures: CargoFeatures = {
|
cargoFeatures: CargoFeatures = {
|
||||||
noDefaultFeatures: false,
|
noDefaultFeatures: false,
|
||||||
allFeatures: true,
|
allFeatures: true,
|
||||||
features: [],
|
features: [],
|
||||||
@ -50,7 +50,7 @@ export class Config {
|
|||||||
this.userConfigChanged();
|
this.userConfigChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
public userConfigChanged() {
|
userConfigChanged() {
|
||||||
const config = vscode.workspace.getConfiguration('rust-analyzer');
|
const config = vscode.workspace.getConfiguration('rust-analyzer');
|
||||||
|
|
||||||
let requireReloadMessage = null;
|
let requireReloadMessage = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user