Monorepo for Tangled tangled.org

web: syntax: add hare syntax highlighting and language stats #4870

Closed nkmason.dev
targeting master from nkmason.dev/core:hare-syntax-highlighting
Closed opened by nkmason.dev
targeting master from nkmason.dev/core:hare-syntax-highlighting

Adds support for the Hare programming language: blobs get syntax highlighting, and repo language stats count .ha sources.

Note: grammar is from https://codeberg.org/wackbyte/vscode-hare at commit d6f6776fa6f1b70564ed369ce8368a6124228171 (Blue Oak 1.0, attribution header in the loader). one deviation is disclosed in that header: the grammar's name is normalized from Hare to hare because pierre requires a returned grammar to declare the registered id as its name (the janet grammar is normalized the same way).

fixes: #4869

Commits 2

feat(langs): count hare in language stats
feat(web): highlight hare files
Sign up or Sign in to add to the discussion.