File tree Expand file tree Collapse file tree 3 files changed +14
-13
lines changed Expand file tree Collapse file tree 3 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -348,9 +348,9 @@ class ExperimentalFeatures implements lc.StaticFeature {
348
348
initialize (
349
349
_capabilities : lc . ServerCapabilities ,
350
350
_documentSelector : lc . DocumentSelector | undefined ,
351
- ) : void { }
352
- dispose ( ) : void { }
353
- clear ( ) : void { }
351
+ ) : void { }
352
+ dispose ( ) : void { }
353
+ clear ( ) : void { }
354
354
}
355
355
356
356
class OverrideFeatures implements lc . StaticFeature {
@@ -368,9 +368,9 @@ class OverrideFeatures implements lc.StaticFeature {
368
368
initialize (
369
369
_capabilities : lc . ServerCapabilities ,
370
370
_documentSelector : lc . DocumentSelector | undefined ,
371
- ) : void { }
372
- dispose ( ) : void { }
373
- clear ( ) : void { }
371
+ ) : void { }
372
+ dispose ( ) : void { }
373
+ clear ( ) : void { }
374
374
}
375
375
376
376
function isCodeActionWithoutEditsAndCommands ( value : any ) : boolean {
@@ -398,8 +398,9 @@ export let HOVER_REFERENCE_COMMAND: ra.CommandLink[] = [];
398
398
399
399
function renderCommand ( cmd : ra . CommandLink ) : string {
400
400
HOVER_REFERENCE_COMMAND . push ( cmd ) ;
401
- return `[${ cmd . title } ](command:rust-analyzer.hoverRefCommandProxy?${ HOVER_REFERENCE_COMMAND . length - 1
402
- } '${ cmd . tooltip } ')`;
401
+ return `[${ cmd . title } ](command:rust-analyzer.hoverRefCommandProxy?${
402
+ HOVER_REFERENCE_COMMAND . length - 1
403
+ } '${ cmd . tooltip } ')`;
403
404
}
404
405
405
406
function renderHoverActions ( actions : ra . CommandLinkGroup [ ] ) : vscode . MarkdownString {
Original file line number Diff line number Diff line change @@ -1145,7 +1145,7 @@ function isUpdatingTest(runnable: ra.Runnable): boolean {
1145
1145
}
1146
1146
1147
1147
const env = runnable . args . environment ;
1148
- return env ? [ ' UPDATE_EXPECT' , ' INSTA_UPDATE' , ' SNAPSHOTS' ] . some ( key => key in env ) : false ;
1148
+ return env ? [ " UPDATE_EXPECT" , " INSTA_UPDATE" , " SNAPSHOTS" ] . some ( ( key ) => key in env ) : false ;
1149
1149
}
1150
1150
1151
1151
export function runSingle ( ctx : CtxInit ) : Cmd {
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ function createCommands(): Record<string, CommandFactory> {
148
148
health : "stopped" ,
149
149
} ) ;
150
150
} ,
151
- disabled : ( _ ) => async ( ) => { } ,
151
+ disabled : ( _ ) => async ( ) => { } ,
152
152
} ,
153
153
154
154
analyzerStatus : { enabled : commands . analyzerStatus } ,
@@ -207,10 +207,10 @@ function checkConflictingExtensions() {
207
207
vscode . window
208
208
. showWarningMessage (
209
209
`You have both the rust-analyzer (rust-lang.rust-analyzer) and Rust (rust-lang.rust) ` +
210
- "plugins enabled. These are known to conflict and cause various functions of " +
211
- "both plugins to not work correctly. You should disable one of them." ,
210
+ "plugins enabled. These are known to conflict and cause various functions of " +
211
+ "both plugins to not work correctly. You should disable one of them." ,
212
212
"Got it" ,
213
213
)
214
- . then ( ( ) => { } , console . error ) ;
214
+ . then ( ( ) => { } , console . error ) ;
215
215
}
216
216
}
You can’t perform that action at this time.
0 commit comments