Skip to content

Latest commit

 

History

History

github-linguist

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

tya — GitHub Linguist notes

GitHub syntax highlighting is provided through GitHub Linguist. Linguist can consume either the TextMate grammar in ../vscode/syntaxes/tya.tmLanguage.json or the Tree-sitter grammar scaffold in ../tree-sitter-tya/ for source.tya.

To register Tya upstream, open a pull request against github-linguist/linguist with a languages.yml entry like:

languages.yml.example

The language_id must be assigned by Linguist maintainers. Until that upstream PR lands, repositories can opt in locally with:

*.tya linguist-language=Tya

The canonical token taxonomy is documented in ../TOKENS.md.