summaryrefslogtreecommitdiff
path: root/nvim/lsp/millet.lua
diff options
context:
space:
mode:
authoranand <anand.panchdhari@gmail.com>2025-12-17 15:57:55 +0530
committeranand <anand.panchdhari@gmail.com>2025-12-17 15:57:55 +0530
commitb7ef29a8886a57aadb787807a7c6cf74c1f0ed3a (patch)
tree366a68240fbc9da6b1d567bd6c46d1350ad814de /nvim/lsp/millet.lua
Nixos
Diffstat (limited to 'nvim/lsp/millet.lua')
-rwxr-xr-xnvim/lsp/millet.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/nvim/lsp/millet.lua b/nvim/lsp/millet.lua
new file mode 100755
index 0000000..c3833d2
--- /dev/null
+++ b/nvim/lsp/millet.lua
@@ -0,0 +1,17 @@
+---@brief
+---
+--- 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 millet-ls`
+--- 4. Move `target/release/millet-ls` to somewhere on your $PATH as `millet`
+return {
+ cmd = { 'millet' },
+ filetypes = { 'sml' },
+ root_markers = { 'millet.toml' },
+}