• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DanielXMoore / Civet / 24372529564
96%

Build:
DEFAULT BRANCH: main
Ran 13 Apr 2026 11:39PM UTC
Jobs 1
Files 42
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Apr 2026 11:37PM UTC coverage: 95.379%. Remained the same
24372529564

push

github

web-flow
Feature: Zed Extension (#1953)

### Directory reorganization

- `lsp-server/` → `lsp/server/` and `vscode/` → `lsp/vscode/` — all LSP-related code now lives under a single `lsp/` top-level directory
- Updated all internal path references, `tsconfig.json`, `.mocharc.json`, build scripts, and CI accordingly

### LSP server package rename

- `@danielx/civet-lsp-server` → `@danielx/civet-language-server` (more conventional npm naming)
- Added `prepublishOnly: pnpm build` and explicit `files` list to `lsp/server/package.json`
- Updated `.github/workflows/publish.yml` to also release `lsp/server` via a refactored `release_package()` function in `build/autorelease.sh`

### Autopublish

- Adding lsp/server to autopublish

### Zed editor extension (`lsp/zed/`)

New Zed extension providing Civet language support:
- `extension.toml` — grammar config pointing at the tree-sitter subpath
- `src/lib.rs` — `LspAdapter` that finds `civet-lsp` on PATH and launches it with `--stdio`
- `languages/civet/` — `highlights.scm` and `locals.scm` for tree-sitter-based syntax highlighting

### Minimal tree-sitter grammar (`lsp/tree-sitter/`)

Avoiding the 303k-line TypeScript parser with a purpose-built ~5k-line Civet-specific grammar:

- **Token coverage:** comments (`//` `/* */` `### ###`), strings, template literals with substitution, numbers (all forms), identifiers, private fields, `@`/`@@` expressions, all operators, punctuation
- **Civet-specific tokens:** `|>` pipe, `->` thin arrow, `:=` walrus, `.=` mutable assign, `<?` instanceof, `..`/`...` ranges, `unless`/`until`/`then`/`and`/`or`/`not`/`is` keywords
- **Structured nodes:** `function_declaration` and `class_declaration` capture the name as a distinct `name:` field, so highlights can distinguish declaration names from call-site identifiers
- **highlights.scm:** function names → `@function`, class names → `@type`, method/property access → `@property`, PascalCase → `@type`, ALL_CAPS → `@constant`, keyword/string/number... (continued)

4263 of 4646 branches covered (91.76%)

Branch coverage included in aggregate %.

20421 of 21234 relevant lines covered (96.17%)

47414.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24372529564.1 13 Apr 2026 11:39PM UTC 42
95.38
GitHub Action Run
Source Files on build 24372529564
  • Tree
  • List 42
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24372529564
  • dbd39ed9 on github
  • Prev Build on main (#24372265845)
  • Next Build on main (#24435481162)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc