Skip to content

Commit

Permalink
should wait for signal before set it
Browse files Browse the repository at this point in the history
  • Loading branch information
nohzafk committed Jul 31, 2024
1 parent 81bf220 commit f6e0894
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lsp_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,15 @@ def init_remote_file_server(self):

# Build loop for remote files management.
self.file_server = FileSyncServer("0.0.0.0", REMOTE_FILE_SYNC_CHANNEL)
# Build loop for call local Emacs function from server.
self.file_elisp_server = FileElispServer("0.0.0.0", REMOTE_FILE_ELISP_CHANNEL, self)

# Build loop for call remote command from local Emacs.
# Start waiting for init_search_backends_complete_event
self.file_command_server = FileCommandServer("0.0.0.0", REMOTE_FILE_COMMAND_CHANNEL, self)

# Build loop for call local Emacs function from server.
# Signal that init_search_backends_complete_event is done
self.file_elisp_server = FileElispServer("0.0.0.0", REMOTE_FILE_ELISP_CHANNEL, self)

set_lsp_bridge_server(self)

# Functions for communication between local and remote server
Expand Down

0 comments on commit f6e0894

Please sign in to comment.