File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -445,11 +445,11 @@ async function hover(msg: p.RequestMessage) {
445445 return response ;
446446}
447447
448- function inlayHint ( msg : p . RequestMessage ) {
448+ async function inlayHint ( msg : p . RequestMessage ) {
449449 const params = msg . params as p . InlayHintParams ;
450450 const filePath = fileURLToPath ( params . textDocument . uri ) ;
451451
452- const response = utils . runAnalysisCommand (
452+ const response = await utils . runAnalysisCommand (
453453 filePath ,
454454 [
455455 "inlayHint" ,
@@ -1256,7 +1256,7 @@ async function onMessage(msg: p.Message) {
12561256 let params = msg . params as InlayHintParams ;
12571257 let extName = path . extname ( params . textDocument . uri ) ;
12581258 if ( extName === c . resExt ) {
1259- send ( inlayHint ( msg ) ) ;
1259+ send ( await inlayHint ( msg ) ) ;
12601260 }
12611261 } else if ( msg . method === p . CodeLensRequest . method ) {
12621262 let params = msg . params as CodeLensParams ;
You can’t perform that action at this time.
0 commit comments