Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
remove old RLS config references
Browse files Browse the repository at this point in the history
  • Loading branch information
Green-Avocado committed Dec 2, 2021
1 parent 1b77e4a commit 9c54b52
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down Expand Up @@ -500,8 +487,6 @@ class RustLanguageClient extends AutoLanguageClient {
this._refreshActiveOverrides()
})

// project.sendRlsTomlConfig()

this._refreshActiveOverrides()
}

Expand Down

0 comments on commit 9c54b52

Please sign in to comment.