Uses the tree-sitter-mojo grammar.
git clone https://github.com/adityasz/zed-mojozed: install dev extension- Select the directory into which this repository was cloned.
"mojo": {
"settings": {
"lsp_path": ".magic/envs/default/bin/mojo-lsp-server",
"args": ["--log=verbose"]
}
},
The above snippet contains a relative path in lsp_path (which is the default
path used by magic for all projects). If lsp_path is not provided,
mojo-lsp-server in $PATH is used, which is
${MODULAR_HOME:-$HOME/.modular}/bin/mojo-lsp-server by default, if --expose mojo-lsp-server is provided to magic global install.