properly load typescript lsp in subpaths
This commit is contained in:
@@ -179,6 +179,7 @@ export namespace LSPClient {
|
|||||||
l.info("shutting down")
|
l.info("shutting down")
|
||||||
connection.end()
|
connection.end()
|
||||||
connection.dispose()
|
connection.dispose()
|
||||||
|
input.server.process.kill()
|
||||||
l.info("shutdown")
|
l.info("shutdown")
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ export namespace LSPServer {
|
|||||||
notif.dispose()
|
notif.dispose()
|
||||||
resolve()
|
resolve()
|
||||||
})
|
})
|
||||||
await lsp.notify.open({ path: hint })
|
await lsp.notify.open({ path: path.join(lsp.root, hint) })
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user