nvim/pack/acp/start/nvim-lspconfig/lua/lspconfig/server_configurations/mojo.lua

22 lines
633 B
Lua

local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'mojo-lsp-server' },
filetypes = { 'mojo' },
root_dir = util.find_git_ancestor,
single_file_support = true,
},
docs = {
description = [[
https://github.com/modularml/mojo
`mojo-lsp-server` can be installed [via Modular](https://developer.modular.com/download)
Mojo is a new programming language that bridges the gap between research and production by combining Python syntax and ecosystem with systems programming and metaprogramming features.
]],
default_config = {
root_dir = [[util.find_git_ancestor]],
},
},
}