mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-21 01:29:59 +00:00
editor/code: Enable noPropertyAccessFromIndexSignature
ts option
This commit is contained in:
parent
72a3883a71
commit
f70845305f
6 changed files with 9 additions and 9 deletions
|
@ -36,7 +36,7 @@ async function getServer(
|
|||
config: Config,
|
||||
state: PersistentState
|
||||
): Promise<string | undefined> {
|
||||
const explicitPath = process.env.__RA_LSP_SERVER_DEBUG ?? config.serverPath;
|
||||
const explicitPath = process.env["__RA_LSP_SERVER_DEBUG"] ?? config.serverPath;
|
||||
if (explicitPath) {
|
||||
if (explicitPath.startsWith("~/")) {
|
||||
return os.homedir() + explicitPath.slice("~".length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue