sublime-syntaxes 0.2.0

Precompiled Sublime Text syntax definitions for languages not in syntect's defaults
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 2 items with examples
  • Size
  • Source code size: 1.46 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.63 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3m 43s Average build duration of successful builds.
  • all releases: 2m 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • macalinao/mad
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • macalinao

sublime-syntaxes

Crates.io docs.rs CI License

Precompiled Sublime Text syntax definitions for languages not in syntect's defaults

Provides precompiled Sublime Text .sublime-syntax definitions for languages not included in syntect's default set. Sourced from bat's syntax collection.

Syntax files in the syntaxes/ directory are compiled to a binary blob at build time and deserialized at runtime via syntect::dumps, avoiding the cost of parsing YAML definitions on every startup.

Usage

let extra_syntaxes = sublime_syntaxes::extra_syntax_set();
// Merge with syntect defaults or use standalone

License

Apache-2.0