1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-04 13:50:07 +08:00
SpaceVim/bundle/nvim-lspconfig-0.1.4/lua/lspconfig/server_configurations/millet.lua
2023-03-29 11:59:27 +08:00

24 lines
501 B
Lua
Vendored

local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'millet' },
filetypes = { 'sml' },
root_dir = util.root_pattern 'millet.toml',
},
docs = {
description = [[
https://github.com/azdavis/millet
Millet, a language server for Standard ML
To use with nvim:
1. Install a Rust toolchain: https://rustup.rs
2. Clone the repo
3. Run `cargo build --release --bin lang-srv`
4. Move `target/release/lang-srv` to somewhere on your $PATH as `millet`
]],
},
}