- ludic-fmt: `rows[i]`, `new []int`, `s[a..b]`, `emit(`, `~x`, list-literal
and query-tag braces stay tight; member calls hug their paren
(`Date.new(`, `Prefab.spawn(`); `<< >> & | ^ ~` are operators and
`&& ||` are not — mirrored in ludic_syntax.h, LudicLexer.kt and the
TextMate grammar. 149 of 274 tracked sources failed --check before.
- ludic-lsp: `initializationOptions.compilerDiagnostics` / `compilerPath`
are honoured — on save the document's compilation unit is compiled and
`file:line: error: msg` is published as a "ludicc" diagnostic (the
option had been documented but never implemented); the workspace scan
file is per process; bracket codes spelled as char literals
- Overlay added to LUDIC_PHASES, LudicTokens.kt, ludic-mode.el and the
grammar (the game uses it; check-vocabulary flagged the drift)
- editors: VS Code snippets/package.json/extension.js (`${workspaceFolder}`
and `~` expansion, PATH lookup, Apache-2.0, real repo URL), Neovim root
markers, Helix/Zed/Sublime bin/ paths, Emacs vocabulary, JetBrains
comments; tools/editors/README.md no longer describes C tooling
- .forgejo workflows clone `${{ github.server_url }}/${{ github.repository }}`
so a fork or mirror tests itself; the docs publish pushes the same way
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
24 lines
778 B
TOML
24 lines
778 B
TOML
# Ludic for Helix. Append to ~/.config/helix/languages.toml, adjusting the two
|
|
# paths. Highlighting comes from the server's semantic tokens; Helix applies
|
|
# them with no grammar to build.
|
|
|
|
[[language]]
|
|
name = "ludic"
|
|
scope = "source.ludic"
|
|
file-types = ["ludic"]
|
|
comment-token = "#"
|
|
indent = { tab-width = 2, unit = " " }
|
|
language-servers = ["ludic-lsp"]
|
|
auto-format = true
|
|
roots = ["package.ludic", "LANGUAGE.md", ".git"]
|
|
|
|
[language-server.ludic-lsp]
|
|
command = "ludic-lsp"
|
|
args = ["--stdio"]
|
|
|
|
# Ludic fences inside Markdown: point Helix's markdown at the same server so
|
|
# `# ```ludic` blocks get diagnostics too. Merge this with your existing
|
|
# markdown entry rather than adding a second one.
|
|
# [[language]]
|
|
# name = "markdown"
|
|
# language-servers = ["marksman", "ludic-lsp"]
|