Just for reference setting up the Mojo Language Server in LazyVim is as trivial as creating a file in the lua/plugins
folder, for example mojo,lua
, with the following content
-- Load the LSP.
require("lspconfig").mojo.setup({})
I have also collected some good error format strings for mixed Python/Mojo projects: init.lua/lua/local/error_formats.lua at main · winding-lines/init.lua · GitHub
I am using these with an async runner and parsing in the quick fix list. My mojo.lua file that puts them all together is here: init.lua/lua/plugins/mojo.lua at main · winding-lines/init.lua · GitHub
This is my first neovim lua project and Claude.ai wrote a bunch of this so the code may not be idiomatic but seems to work.
I hope this helps,
Marius