From 9c54b52a1161055930a6a6ee79ea96dd816a48e9 Mon Sep 17 00:00:00 2001 From: Green-Avocado Date: Thu, 2 Dec 2021 08:07:34 -0800 Subject: [PATCH] remove old RLS config references --- lib/index.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/lib/index.js b/lib/index.js index d29a16a..9386ec0 100644 --- a/lib/index.js +++ b/lib/index.js @@ -427,19 +427,6 @@ class RustLanguageClient extends AutoLanguageClient { // Get required dependencies await require("atom-package-deps").install("ide-rust") - // // Watch rls.toml file changes -> update rls - // this.disposables.add(atom.project.onDidChangeFiles(events => { - // if (_.isEmpty(this.projects)) return - // - // for (const event of events) { - // if (event.path.endsWith('rls.toml')) { - // let projectPath = Object.keys(this.projects).find(key => event.path.startsWith(key)) - // let rlsProject = projectPath && this.projects[projectPath] - // if (rlsProject) rlsProject.sendRlsTomlConfig() - // } - // } - // })) - // watch config toolchain updates -> check for updates if enabling this.disposables.add( atom.config.onDidChange("ide-rust.checkForToolchainUpdates", ({ newValue: enabled }) => { @@ -500,8 +487,6 @@ class RustLanguageClient extends AutoLanguageClient { this._refreshActiveOverrides() }) - // project.sendRlsTomlConfig() - this._refreshActiveOverrides() }