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
- Host: GitHub
- URL: https://github.com/ducaale/syntax-highlighting-in-rust
- Owner: ducaale
- Created: 2020-09-13T20:34:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-22T18:21:21.000Z (over 5 years ago)
- Last Synced: 2025-08-04T08:15:56.873Z (11 months ago)
- Language: Rust
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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