https://github.com/cablehead/syntect-syntaxset-with-nushell
syntect::SyntaxSet defaults + Nushell
https://github.com/cablehead/syntect-syntaxset-with-nushell
Last synced: 2 months ago
JSON representation
syntect::SyntaxSet defaults + Nushell
- Host: GitHub
- URL: https://github.com/cablehead/syntect-syntaxset-with-nushell
- Owner: cablehead
- Created: 2024-10-14T18:46:33.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-28T16:36:00.000Z (6 months ago)
- Last Synced: 2025-03-25T05:05:47.501Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 479 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# syntect::SyntaxSet defaults + Nushell generator

This project generates a
[`syntect::SyntaxSet`](https://docs.rs/syntect/latest/syntect/parsing/struct.SyntaxSet.html)
binary used by the
[Stacks clipboard manager](https://github.com/cablehead/stacks).### Instructions to Generate the `SyntaxSet`
```bash
git clone https://github.com/cablehead/syntect-SyntaxSet-with-nushell.git
cd syntect-SyntaxSet-with-nushell
cargo r
```Once the `syntax_set.bin` file has been generated, replace `stacks/src-tauri/syntax_set.bin`
## Credits
- The `nushell.sublime-syntax` file has been copied from
[kurokirasama/nushell_sublime_syntax](https://github.com/kurokirasama/nushell_sublime_syntax).
Thank you @kurokirasama!