Expand description
Defines the LanguageSet trait and some related types.
Also re-exports syntastica_highlight::HighlightConfiguration, tree_sitter::Language,
and tft::FileType.
Structs§
- Highlight
Configuration - Contains the data needed to highlight code written in a particular language.
- Language
- An opaque object that defines how to parse a particular language. The code
for each
Languageis generated by the Tree-sitter CLI. - Union
- A combination of two arbitrary
LanguageSets into one.
Enums§
- Either
Lang - Either one of two language types.
- File
Type - A non-exhaustive list of text file types.
Traits§
- Language
Set - Describes a type that is able to provide tree-sitter parsers and queries.
- Supported
Language - A language included in a
LanguageSet.