TreeSitterGrammar
type TreeSitterGrammar =
{
Language: string
Aliases: string list
Continuation: string option
Source: TreeSitterGrammarSource
}| Assembly | Nacara.Plugin.Highlight.TreeSitter |
A grammar this site can colour with: what it is called, and where it comes from.
Fields
Continuation: string option
Continuation: string optionWhat a snippet of this language continues from, when it is a fragment.
Used only when a snippet does not parse on its own, and dropped from what comes out.
Source: TreeSitterGrammarSource
Source: TreeSitterGrammarSourceFiles to read, or a repository to build them from.