-
-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(molten-nvim): enhance molten config and add custom init function and statusline #1242
Conversation
Review ChecklistDoes this PR follow the [Contribution Guidelines](development guidelines)? Following is a partial checklist: Proper conventional commit scoping:
|
Anything I can do to get a forward with this PR? |
One of the maintainers just need to take the time out of their day to review it. |
@AstroNvim/astrocommunity-maintainers |
I don't use any of this tech so unless any other @AstroNvim/astronvim-maintainers have any input we can always do a scream test and merge it and see if anyone complains |
Lets go for it. |
📑 Description
This plugin config adds a custom init function for Python venvs. When calling
<Leader>mmp
, we check if a venv is activated. If it is, we check if a jupyter kernel spec for this venv already exists and:MoltenInit
this kernel spec. If no kernel spec is found, we prompt for a unique name, create the kernel spec and:MoltenInit
it.It also adds a status line indication if molten is activated and what kernel is initialized.
Last but not least, I added some more useful keymaps and altered the existing one slightly as well as give a hint in the readme about setting the
python3_host_prog
variable in AstroNVim.