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

Commit 4288554

Browse files
authored
Support out-of-project files (#123)
* Depend on fork: alexheretic/atom-languageclient#build
1 parent 1bf475f commit 4288554

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

lib/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,10 @@ class RustLanguageClient extends AutoLanguageClient {
594594
!filePath.includes('/target/release/')
595595
}
596596

597+
serversSupportDefinitionDestinations() {
598+
return true
599+
}
600+
597601
async startServerProcess(projectPath) {
598602
if (shouldIgnoreProjectPath(projectPath)) {
599603
console.warn("ide-rust disabled on", projectPath)

package-lock.json

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"atom": ">=1.33.0"
1818
},
1919
"dependencies": {
20-
"atom-languageclient": "^0.9.9",
20+
"atom-languageclient": "alexheretic/atom-languageclient#build",
2121
"atom-package-deps": "^5.0.0",
2222
"toml": "^3.0.0",
2323
"underscore-plus": "^1.6.8"

0 commit comments

Comments
 (0)