Neovim MOJO plugin (mojo.nvim)

:fire: mojo.nvim

I created a simple configuration some time ago.

This time, I improved it with AI to achieve a more automated workflow.

This plugin allows us to simply:

  • cd to our Mojo project directory (as we would normally do with any other language).

  • Open Neovim. Done!

As soon as we open a .mojo file, Neovim will identify the environment and set up the lsp.

Of course, this requires that we have our .venv/ or .pixi/ dir.

mojo-lang.lua (lazy.vim config)

This is very cool. I though do think that having conform.nvim, neovim-lspconfig.nvim, and nvim-lint would be very neat for those who uses that.

Yeah, did you read the readme?


I don’t know if it is working with nvim-lint… but I’m getting linting from lsp.

Feel free to open a PR

ah sorry was just looking at the lua code directly without skimming the readme :slight_smile:

I just added Treesitter to the plugin. And I updated it to Mojo 1.0