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) {
546
546
return response ;
547
547
}
548
548
549
- function references ( msg : p . RequestMessage ) {
549
+ async function references ( msg : p . RequestMessage ) {
550
550
// https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_references
551
551
let params = msg . params as p . ReferenceParams ;
552
552
let filePath = fileURLToPath ( params . textDocument . uri ) ;
@@ -1230,7 +1230,7 @@ async function onMessage(msg: p.Message) {
1230
1230
} else if ( msg . method === p . TypeDefinitionRequest . method ) {
1231
1231
send ( await typeDefinition ( msg ) ) ;
1232
1232
} else if ( msg . method === p . ReferencesRequest . method ) {
1233
- send ( references ( msg ) ) ;
1233
+ send ( await references ( msg ) ) ;
1234
1234
} else if ( msg . method === p . PrepareRenameRequest . method ) {
1235
1235
send ( prepareRename ( msg ) ) ;
1236
1236
} else if ( msg . method === p . RenameRequest . method ) {
You can’t perform that action at this time.
0 commit comments