gen_linguist

command
v0.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Command gen_linguist generates grammars/linguist_gen.go by matching gotreesitter grammar names to GitHub Linguist's languages.yml.

Usage:

go run ./cmd/gen_linguist -manifest grammars/languages.manifest [-languages-yml path] [-out grammars/linguist_gen.go]

If -languages-yml is not specified, fetches from GitHub.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL