luk400 / vim-jukit

Jupyter-Notebook inspired Neovim/Vim Plugin
MIT License
587 stars 23 forks source link

Support for new language: mojo #115

Open BenAlheit opened 2 months ago

BenAlheit commented 2 months ago

Mojo is a relatively new (and, imo, very exciting) language that offers a repl experience through the terminal. I would really love to be able to use this in vim-jukit https://www.modular.com/mojo

BenAlheit commented 2 months ago

Ps. I just realized that this works pretty much out of the box if one has mojo installed and sets :let g:jukit_shell_cmd='mojo' However, there is a slight quirk (from mojo's side really) that for a block of code to be run two sequential newline characters need to be sent to the repl. So, if a cell does not have a blank line at the end then the execution hangs until a blank line is sent to the repl.