diff --git a/src/core/controllers/lsp/lsp_controller_websocket.py b/src/core/controllers/lsp/lsp_controller_websocket.py index 22c7c0c..c6f7894 100644 --- a/src/core/controllers/lsp/lsp_controller_websocket.py +++ b/src/core/controllers/lsp/lsp_controller_websocket.py @@ -34,6 +34,9 @@ class LSPControllerWebsocket(LSPControllerBase): stdout = subprocess.PIPE, stdin = subprocess.PIPE ) + + if not self.lsp_process.poll() == None: + raise Exception("LSP thread not started!") except Exception as e: self.log_list.add_log_entry( "LSP Client Error", diff --git a/user_config/usr/share/lsp_manager/lsp-servers-config.json b/user_config/usr/share/lsp_manager/lsp-servers-config.json index 737083d..0b80766 100644 --- a/user_config/usr/share/lsp_manager/lsp-servers-config.json +++ b/user_config/usr/share/lsp_manager/lsp-servers-config.json @@ -45,7 +45,8 @@ "jedi":{ "extra_paths": [ "/home/abaddon/Portable_Apps/py-venvs/pylsp-venv/venv/lib/python3.10/site-packages" - ] + ], + "root_dir": "" } } }