Removing no longer needed logging in plugin

This commit is contained in:
itdominator 2024-09-15 01:53:27 -05:00
parent 693f569d4f
commit 769eb4adb2
2 changed files with 3 additions and 4 deletions

View File

@ -81,7 +81,6 @@ class ClientIPC:
lsp_response = None lsp_response = None
keys = None keys = None
logger.debug(data_str)
try: try:
lsp_response = json.loads(data_str) lsp_response = json.loads(data_str)
keys = lsp_response.keys() keys = lsp_response.keys()
@ -169,4 +168,4 @@ class ClientIPC:
logger.error("LSP Socket no longer valid.... Removing.") logger.error("LSP Socket no longer valid.... Removing.")
os.unlink(self._ipc_address) os.unlink(self._ipc_address)
except Exception as e: except Exception as e:
logger.error( repr(e) ) logger.error( repr(e) )

View File

@ -235,7 +235,7 @@ class Plugin(PluginBase):
"method": "textDocument/completion", "method": "textDocument/completion",
"language_id": source_view.get_filetype(), "language_id": source_view.get_filetype(),
"uri": uri, "uri": uri,
"version": buffer.version_id, "version": source_view.get_version_id(),
"text": "", "text": "",
"line": line, "line": line,
"column": column, "column": column,
@ -245,4 +245,4 @@ class Plugin(PluginBase):
self.send_message(data) self.send_message(data)
def send_message(self, data: dict): def send_message(self, data: dict):
self.client_ipc.send_manager_ipc_message( json.dumps(data) ) self.client_ipc.send_manager_ipc_message( json.dumps(data) )