mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
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:
parent
529b227d42
commit
83a33fbbea
6 changed files with 110 additions and 106 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue