My Python LSP server is installed in the virtualenv that auto-virtualenv is activating.
When opening a Python file LSP tries to start a server for it before auto-virtualenv activates for that buffer and fails. When auto-virtualenv finishes activating, it tries to reload the LSP server with lsp-restart-workspace but that doesn't do a reload because "lsp-restart-workspace: There are no active servers in the current buffer".
Is there a way to get these ordered properly?
My Python LSP server is installed in the virtualenv that auto-virtualenv is activating.
When opening a Python file LSP tries to start a server for it before auto-virtualenv activates for that buffer and fails. When auto-virtualenv finishes activating, it tries to reload the LSP server with
lsp-restart-workspacebut that doesn't do a reload because "lsp-restart-workspace: There are no active servers in the current buffer".Is there a way to get these ordered properly?