Module syntastica::language_set
Expand description
Defines the LanguageSet
trait and some related types.
Also re-exports syntastica_highlight::HighlightConfiguration
, tree_sitter::Language
,
and tft::FileType
.
Structs
- Contains the data needed to highlight code written in a particular language.
- An opaque object that defines how to parse a particular language. The code for each
Language
is generated by the Tree-sitter CLI.
Enums
- A non-exhaustive list of text file types.
Traits
- Describes a type that is able to provide tree-sitter parsers and queries.
- A language included in a
LanguageSet
.