Skip to content

Commit

Permalink
Don't allow session to start if server is not ready (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl authored Mar 22, 2020
1 parent 9a082ff commit 4682b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def on_start(self, window) -> bool:
if not is_node_installed():
sublime.status_message('Please install Node.js for the TypeScript Language Server to work.')
return False
return True
return server.ready

def on_initialized(self, client: Client) -> None:
client.on_request(
Expand Down

0 comments on commit 4682b57

Please sign in to comment.