File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ import Foundation
9
9
import LanguageServerProtocol
10
10
11
11
func loadLSPConfigurations( from configFile: URL ? ) -> [ LanguageIdentifier : LanguageServerBinary ] {
12
+ // TEMP: This is in a variable to avoid lint error
13
+ let rustPath = " /Users/abe/.vscode/extensions/rust-lang.rust-analyzer-0.3.1823-darwin-arm64/server/rust-analyzer "
12
14
// TODO: LOAD FROM FILE
13
15
return [
14
16
. python: LanguageServerBinary (
@@ -20,7 +22,7 @@ func loadLSPConfigurations(from configFile: URL?) -> [LanguageIdentifier: Langua
20
22
env: ProcessInfo . processInfo. environment
21
23
) ,
22
24
. rust: LanguageServerBinary (
23
- execPath: " /Users/abe/.vscode/extensions/rust-lang.rust-analyzer-0.3.1823-darwin-arm64/server/rust-analyzer " ,
25
+ execPath: rustPath ,
24
26
args: [
25
27
" --verbose " ,
26
28
" --log-file " ,
You can’t perform that action at this time.
0 commit comments