Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
3) While a separate terminal or tmux is an option, I currently look into using nvims builtin terminal. I got keymaps to work for sending the current (python) file to a builtin new terminal and to close the terminal after running. However, I rather would leave the terminal open (once I created one) and re-use it for re-running the same file again. Is there an built-in way to do so? Alternatively, I thought of using Harpoon, which in my opinion seems an even easier way to plugin-achieve this, compared to some of the terminal plugins available. Like so:
Are you using pyright for LSP? I currently use pipenv instead of conda, but I configure the venv and venvPath fields in a pyrightconfig.json file (docs here) in the project root. This way, pyright picks up on the right environment automatically when I open Neovim.
I don't use this plugin myself, so I don't know about support for conda, but maybe you could look into it.
py_lsp.nvim has this functionality. You can change conda environments for the LSP attached to the buffer via the PyFindVenvs command
helpers/python.lua
Thanks! For me, the extra pyright setup feels a bit clunky though. However, since I#m already using telescope anyway, this telescope-conda extentions is perfect for my needs!
For 3. you can try my masterpiece nyngwang/NeoTerm.lua: You can attach a terminal-buffer for each buffer. (github.com).