generated from itdominator/Python-With-Gtk-Template
Removing no longer needed logging in plugin
This commit is contained in:
parent
693f569d4f
commit
769eb4adb2
|
@ -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) )
|
|
@ -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) )
|
Loading…
Reference in New Issue