jupynium.nvim icon indicating copy to clipboard operation
jupynium.nvim copied to clipboard

Pyright integration in ipython mode?

Open matt-gardner opened this issue 9 months ago • 1 comments

Thanks for the amazing work! I really like that I can integrate nvim and all of my typical IDE plugins with jupyter notebooks, it's really powerful. The one thing that I can't figure out is how to get pyright to stop complaining at me about await only being allowed inside an async function. I have pyright running on my *.ju.py file just fine, except that it does not detect IPythonMode correctly, so it gives warnings on things that it shouldn't. Is there a way to configure the buffer / LSP such that it sets IPythonMode correctly?

matt-gardner avatar Mar 20 '25 23:03 matt-gardner

Hi, thanks for using the plugin and reporting the issue!

I'm not sure if you use basedpyright, but I recommend it especially with neovim because it unlocks a plethora of features.
The maintainer is also interested in dealing with the issue. Feel free to leave your thoughts on the issue above.

kiyoon avatar Mar 24 '25 01:03 kiyoon