u/aala7

▲ 11 r/neovim

Ty LSP and UV workspaces

Ty does not find the right virtual environment, when working with uv workspaces. It seems like it sets the root at the first pyproject.toml it finds and does not go further up to find the workspace root.

I have "unresolved imports" all over.

Does any one have experience with a config that enables ty to recognize the workspace?

I use nvim-lspconfig btw and auto enable ty with mason-lspconfig.

reddit.com
u/aala7 — 1 day ago