Vscode wasn't running the linter automatically so ran npm run fix - wonder if it's related to tslint being deprecated.
This commit is contained in:
@@ -46,14 +46,14 @@ export class Config {
|
||||
|
||||
public userConfigChanged() {
|
||||
const config = vscode.workspace.getConfiguration('rust-analyzer');
|
||||
|
||||
|
||||
Server.highlighter.removeHighlights();
|
||||
|
||||
if (config.has('highlightingOn')) {
|
||||
this.highlightingOn = config.get('highlightingOn') as boolean;
|
||||
if (this.highlightingOn) {
|
||||
scopes.load();
|
||||
scopesMapper.load();
|
||||
scopesMapper.load();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,7 +63,6 @@ export class Config {
|
||||
) as boolean;
|
||||
}
|
||||
|
||||
|
||||
if (config.has('enableEnhancedTyping')) {
|
||||
this.enableEnhancedTyping = config.get(
|
||||
'enableEnhancedTyping'
|
||||
|
||||
Reference in New Issue
Block a user