Skip to content

Commit 89a75ed

Browse files
Lint fix
1 parent cf35417 commit 89a75ed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CodeEdit/Features/LSP/LanguageConfiguration.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import Foundation
99
import LanguageServerProtocol
1010

1111
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"
1214
// TODO: LOAD FROM FILE
1315
return [
1416
.python: LanguageServerBinary(
@@ -20,7 +22,7 @@ func loadLSPConfigurations(from configFile: URL?) -> [LanguageIdentifier: Langua
2022
env: ProcessInfo.processInfo.environment
2123
),
2224
.rust: LanguageServerBinary(
23-
execPath: "/Users/abe/.vscode/extensions/rust-lang.rust-analyzer-0.3.1823-darwin-arm64/server/rust-analyzer",
25+
execPath: rustPath,
2426
args: [
2527
"--verbose",
2628
"--log-file",

0 commit comments

Comments
 (0)