generated from itdominator/Python-With-Gtk-Template
Trying to catch failed lsp start; root_dir added to pylsp
This commit is contained in:
parent
47cdf2ffc3
commit
c1fcf19ae2
|
@ -34,6 +34,9 @@ class LSPControllerWebsocket(LSPControllerBase):
|
||||||
stdout = subprocess.PIPE,
|
stdout = subprocess.PIPE,
|
||||||
stdin = subprocess.PIPE
|
stdin = subprocess.PIPE
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not self.lsp_process.poll() == None:
|
||||||
|
raise Exception("LSP thread not started!")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.log_list.add_log_entry(
|
self.log_list.add_log_entry(
|
||||||
"LSP Client Error",
|
"LSP Client Error",
|
||||||
|
|
|
@ -45,7 +45,8 @@
|
||||||
"jedi":{
|
"jedi":{
|
||||||
"extra_paths": [
|
"extra_paths": [
|
||||||
"/home/abaddon/Portable_Apps/py-venvs/pylsp-venv/venv/lib/python3.10/site-packages"
|
"/home/abaddon/Portable_Apps/py-venvs/pylsp-venv/venv/lib/python3.10/site-packages"
|
||||||
]
|
],
|
||||||
|
"root_dir": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue