feat(editors): reference LSP configs and supported editors page #248

Merged
abiwab merged 9 commits from feat/editors into dev/1.6 2026-11-25 08:38:59 +01:00
Owner

Step B of the 1.6 plan (editors for the launch), scoped to what ships in 1.6.0.

What changes

  • editors/ (repo root, not published): reference configurations for Neovim (0.11+), Helix, Emacs (eglot, 29+), Sublime Text (LSP package) and JetBrains IDEs (LSP4IJ). Each starts gram-language-server --stdio and sends views: false.
  • Contract test packages/language-server/tests/editors.test.ts: command, views: false, .gram extension and comments for each config, no views: true anywhere, and every file must be imported by the docs page (en + fr).
  • Smoke tests editors/smoke/run.sh: a throwaway podman/docker container where Neovim and Emacs exercise diagnostics, completion, hover, formatting, rename and semantic tokens through their own LSP client; Helix checks the config and server with hx --health. Run on demand, not in CI.
  • Parser: ships a plist syntaxes/gram.tmLanguage generated from the JSON TextMate grammar (adds fileTypes and a fixed uuid) so Sublime Text can attach the LSP package. Covered by textmate-plist.test.ts, and by the Turbo outputs and CI diff check. Changeset: parser-tmlanguage-plist.md.
  • Docs: new "Supported editors" page (en + fr) that imports the configs through the @editors alias. It separates official support (VS Code and its forks via Marketplace + Open VSX, Zed later) from community LSP configurations (Neovim, Helix, Emacs, Sublime Text, JetBrains), which are best-effort starting points that rely only on the standard protocol. It includes an honest feature matrix and says what is checked automatically versus given as-is.

Out of scope for 1.6.0

tree-sitter-gram, zed-gram and the upstream PRs (nvim-lspconfig, mason-registry, Helix) move to post-launch, depending on real demand. There is no manual per-IDE checklist at release time.

Checks

  • bun test in packages/language-server: 273 pass, 0 fail
  • docs build OK, EN/FR structure parity checked
Step B of the 1.6 plan (editors for the launch), scoped to what ships in 1.6.0. ## What changes - **`editors/`** (repo root, not published): reference configurations for Neovim (0.11+), Helix, Emacs (eglot, 29+), Sublime Text (LSP package) and JetBrains IDEs (LSP4IJ). Each starts `gram-language-server --stdio` and sends `views: false`. - **Contract test** `packages/language-server/tests/editors.test.ts`: command, `views: false`, `.gram` extension and comments for each config, no `views: true` anywhere, and every file must be imported by the docs page (en + fr). - **Smoke tests** `editors/smoke/run.sh`: a throwaway podman/docker container where Neovim and Emacs exercise diagnostics, completion, hover, formatting, rename and semantic tokens through their own LSP client; Helix checks the config and server with `hx --health`. Run on demand, not in CI. - **Parser**: ships a plist `syntaxes/gram.tmLanguage` generated from the JSON TextMate grammar (adds `fileTypes` and a fixed `uuid`) so Sublime Text can attach the LSP package. Covered by `textmate-plist.test.ts`, and by the Turbo outputs and CI diff check. Changeset: `parser-tmlanguage-plist.md`. - **Docs**: new "Supported editors" page (en + fr) that imports the configs through the `@editors` alias. It separates **official support** (VS Code and its forks via Marketplace + Open VSX, Zed later) from **community LSP configurations** (Neovim, Helix, Emacs, Sublime Text, JetBrains), which are best-effort starting points that rely only on the standard protocol. It includes an honest feature matrix and says what is checked automatically versus given as-is. ## Out of scope for 1.6.0 `tree-sitter-gram`, `zed-gram` and the upstream PRs (`nvim-lspconfig`, `mason-registry`, Helix) move to post-launch, depending on real demand. There is no manual per-IDE checklist at release time. ## Checks - `bun test` in `packages/language-server`: 273 pass, 0 fail - docs build OK, EN/FR structure parity checked
abiwab merged commit 7ff52a3592 into dev/1.6 2026-11-25 08:38:59 +01:00
abiwab deleted branch feat/editors 2026-11-25 08:39:00 +01:00
Sign in to join this conversation.
No description provided.