3 ms·
I am a casual python user, and for that I love uv. Something I haven't quite figured out yet is integration with the pyright lsp - when I edit random projects i
by gkfasdfasdf 2y ago
I am a casual python user, and for that I love uv. Something I haven't quite figured out yet is integration with the pyright lsp - when I edit random projects in neovim, any imports have red squiggles. Does anyone know of a good way to resolve imports for the lsp via uv?
- roland35 2y agoYou probably need to make sure you have the correct python version set. By default it is in the .venv directory with uv
- _whiteCaps_ 2y agoI start a shell with "uv run bash" and start neovim from there. I'm sure there's other ways but it's a quick fix and doesn't involve mucking around with neovim config.
- gkfasdfasdf 2y agoThat's brilliant, thanks! EDIT - 'uv run nvim' works also