File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -445,11 +445,11 @@ async function hover(msg: p.RequestMessage) {
445
445
return response ;
446
446
}
447
447
448
- function inlayHint ( msg : p . RequestMessage ) {
448
+ async function inlayHint ( msg : p . RequestMessage ) {
449
449
const params = msg . params as p . InlayHintParams ;
450
450
const filePath = fileURLToPath ( params . textDocument . uri ) ;
451
451
452
- const response = utils . runAnalysisCommand (
452
+ const response = await utils . runAnalysisCommand (
453
453
filePath ,
454
454
[
455
455
"inlayHint" ,
@@ -1256,7 +1256,7 @@ async function onMessage(msg: p.Message) {
1256
1256
let params = msg . params as InlayHintParams ;
1257
1257
let extName = path . extname ( params . textDocument . uri ) ;
1258
1258
if ( extName === c . resExt ) {
1259
- send ( inlayHint ( msg ) ) ;
1259
+ send ( await inlayHint ( msg ) ) ;
1260
1260
}
1261
1261
} else if ( msg . method === p . CodeLensRequest . method ) {
1262
1262
let params = msg . params as CodeLensParams ;
You can’t perform that action at this time.
0 commit comments