Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .omp/lsp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"servers": {
"luau-lsp": {
"command": "luau-lsp",
"args": ["lsp", "--definitions=@tern=types/tern.d.luau"],
"fileTypes": [".luau"],
"languageId": "luau",
"rootMarkers": ["plugin.toml"],
"settings": {
"luau-lsp": {
"platform": { "type": "standard" },
"sourcemap": { "enabled": false }
}
}
}
}
}
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ behavior claims are backed by evidence, privacy boundaries stay intact, and the
`window.luau` headlessly in `tests/test_luau_harness.py` (release archives at
[luau-lang/luau 0.745](https://github.com/luau-lang/luau/releases/tag/0.745), as in
[`.github/workflows/ci.yml`](.github/workflows/ci.yml); set `LUAU=/path/to/luau` when not on `PATH`, or
`TERN_SIDEPULSE_REQUIRE_LUAU=1` to fail instead of skipping when `luau` is absent).
`TERN_SIDEPULSE_REQUIRE_LUAU=1` to fail instead of skipping when `luau` is absent). An Oh My Pi session started at
the repository root runs the same analysis while editing: [`.omp/lsp.json`](.omp/lsp.json) launches `luau-lsp lsp`
with these definitions on the standard (non-Roblox) platform, for diagnostics and hover on `.luau` files.
- **Tern 0.9.12 on macOS**: required only for manual end-to-end checks against a live Tern window and SidePulse's agent
monitor (`events.sock` and `relay-events.sock`); see [`docs/compatibility.md`](docs/compatibility.md) for the probe
and integration checks.
Expand Down
Loading