diff --git a/src/core/widgets/log_list.py b/src/core/widgets/log_list.py index 60c9ba7..93fe8dc 100644 --- a/src/core/widgets/log_list.py +++ b/src/core/widgets/log_list.py @@ -71,7 +71,6 @@ class LogList(Gtk.ListBox): frame.show_all() - logger.debug(f"{lbl_str}:\n{message}") del message del lbl_str diff --git a/src/libs/lsp_endpoint_server.py b/src/libs/lsp_endpoint_server.py index 2b9bd4d..69f7d2a 100644 --- a/src/libs/lsp_endpoint_server.py +++ b/src/libs/lsp_endpoint_server.py @@ -80,9 +80,8 @@ class LSPEndpointServer(Singleton): data = msg.split("CLIENT|")[1].strip() if data: data_str = base64.b64decode(data.encode("utf-8")).decode("utf-8") - logger.debug(data_str) - json_blob = json.loads(data_str) + event_system.emit(json_blob["method"], (json_blob,)) conn.close() @@ -148,4 +147,4 @@ class LSPEndpointServer(Singleton): logger.error("LSP Socket no longer valid.... Removing.") os.unlink(self._ipc_address) except Exception as e: - logger.error( repr(e) ) + logger.error( repr(e) ) \ No newline at end of file diff --git a/src/lsp-manager.zip b/src/lsp-manager.zip new file mode 100644 index 0000000..f9bafa8 Binary files /dev/null and b/src/lsp-manager.zip differ