Fixes a batch of grammatical mistakes found across the `docs/` folder: typos/misspellings, subject-verb agreement errors, missing and duplicated words, article errors (`a`/`an`), wrong word forms, and punctuation issues (doubled periods, unclosed parentheses). Scope is limited to prose in `docs/src/**`; no behavior, settings, or code changes. 33 files updated, 49 lines changed. Representative fixes: - `globs.md`: "features varies" -> "features"; "platforms libc" -> "platform's libc". - `installation.md`: "the follow macOS releases" -> "the following macOS releases". - `key-bindings.md`: "command pallets" -> "command palette's". - `linux.md`: capitalization after a period; "able to the environment variable" -> "able to set the environment variable"; "These feature also requires" -> "This feature also requires". - `multibuffers.md`: "Window/Linux" -> "Windows/Linux"; added a missing closing parenthesis. - `reference/all-settings.md`: several agreement/article/missing-word fixes plus an unclosed parenthesis. - `languages/*`: "partent" -> "parent", "complimentary" -> "complementary", "setup" -> "set up", "is enabled" -> "are enabled", and similar. Release Notes: - N/A
1.3 KiB
1.3 KiB
title, description
| title | description |
|---|---|
| Standard ML | Configure Standard ML language support in Zed, including language servers, formatting, and debugging. |
Standard ML
Standard ML support is available through the community-maintained Standard ML extension.
- Tree-sitter: MatthewFluet/tree-sitter-sml
- Language Server: Millet
Setup
- Install a Standard ML implementation such as SML/NJ or MLton to compile and run your code.
- Install Millet and ensure
millet-lsis on your$PATH.
Project setup
For projects with more than one source file, Millet expects a single root group file. Create a millet.toml in the directory you open in Zed:
version = 1
[workspace]
root = "sources.mlb"
The root must be either an ML Basis (MLB) file (.mlb, used with MLton) or an SML/NJ Compilation Manager (CM) file (.cm, used with SML/NJ). Files not transitively reachable from the root are not analyzed. See the Millet manual for more options.