File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -546,7 +546,7 @@ async function typeDefinition(msg: p.RequestMessage) {
546546 return response ;
547547}
548548
549- function references ( msg : p . RequestMessage ) {
549+ async function references ( msg : p . RequestMessage ) {
550550 // https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_references
551551 let params = msg . params as p . ReferenceParams ;
552552 let filePath = fileURLToPath ( params . textDocument . uri ) ;
@@ -1230,7 +1230,7 @@ async function onMessage(msg: p.Message) {
12301230 } else if ( msg . method === p . TypeDefinitionRequest . method ) {
12311231 send ( await typeDefinition ( msg ) ) ;
12321232 } else if ( msg . method === p . ReferencesRequest . method ) {
1233- send ( references ( msg ) ) ;
1233+ send ( await references ( msg ) ) ;
12341234 } else if ( msg . method === p . PrepareRenameRequest . method ) {
12351235 send ( prepareRename ( msg ) ) ;
12361236 } else if ( msg . method === p . RenameRequest . method ) {
You can’t perform that action at this time.
0 commit comments