kiyoon / jupynium.nvim

Selenium-automated Jupyter Notebook that is synchronised with NeoVim in real-time.
MIT License
486 stars 15 forks source link

feat: smart select default kernel when :JupyniumStartSync #39

Closed kiyoon closed 1 year ago

kiyoon commented 1 year ago

When running :JupyniumStartSync it used to default to the python3 kernel. Now, it will try to select smartly.

  1. Respect language. Check filetype of the buffer and choose the kernel with the same language.
  2. Respect conda env path. Check CONDA_PREFIX environment variable to see if it matches the kernel's spec.
kiyoon commented 1 year ago

Resolves #30