File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 280
280
"default" : true ,
281
281
"description" : " Whether to ask for permission before downloading any files from the Internet."
282
282
},
283
- "rust-analyzer.serverPath " : {
283
+ "rust-analyzer.server.path " : {
284
284
"type" : [
285
285
" null" ,
286
286
" string"
Original file line number Diff line number Diff line change @@ -93,7 +93,9 @@ export class Config {
93
93
return this . cfg . get < T > ( path ) ! ;
94
94
}
95
95
96
- get serverPath ( ) { return this . get < null | string > ( "serverPath" ) ; }
96
+ get serverPath ( ) {
97
+ return this . get < null | string > ( "server.path" ) ?? this . get < null | string > ( "serverPath" ) ;
98
+ }
97
99
get serverExtraEnv ( ) { return this . get < Env | null > ( "server.extraEnv" ) ?? { } ; }
98
100
get channel ( ) { return this . get < UpdatesChannel > ( "updates.channel" ) ; }
99
101
get askBeforeDownload ( ) { return this . get < boolean > ( "updates.askBeforeDownload" ) ; }
You can’t perform that action at this time.
0 commit comments