An open API service indexing awesome lists of open source software.

https://github.com/ducaale/syntax-highlighting-in-rust

My experiments with syntect
https://github.com/ducaale/syntax-highlighting-in-rust

Last synced: 11 months ago
JSON representation

My experiments with syntect

Awesome Lists containing this project

README

          

# Syntax higlighting in Rust

This repo contains my experiments with [syntect](https://github.com/trishume/syntect) +
custom syntaxes and themes. Initially, I faced some problems in converting from `.tmLanguage`
to `.sublime-syntax` due to a bug in Sublime Text. Luckily, there was a workaround which is
mentioned [here](https://forum.sublimetext.com/t/trying-to-convert-tmlanguage-syntax-to-sublime-syntax/53427).

## Syntaxes and themes used
- [Sublime-HTTP](https://github.com/samsalisbury/Sublime-HTTP)
- [json-kv](https://github.com/aurule/json-kv)
- [Sublime Packages](https://github.com/sublimehq/Packages/tree/fa6b8629c95041bf262d4c1dab95c456a0530122)
- [ansi-dark theme](https://github.com/sharkdp/bat/blob/master/assets/themes/ansi-dark.tmTheme)

## TODO:
- Turn off the inclusion of default assets. See https://github.com/trishume/syntect/issues/278#issuecomment-576926815