Update syntaxes

This commit is contained in:
Vincent Prouillet 2017-08-10 09:14:48 +09:00
parent dc2cea33cb
commit 8ce42a7fcc
5 changed files with 6 additions and 6 deletions

2
Cargo.lock generated
View file

@ -400,7 +400,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "gutenberg"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"chrono 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.26.0 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -335,19 +335,19 @@ You can check for any updates to the current packages by running:
$ git submodule update --remote --merge
```
And finally from the root of the repository run the following command:
And finally from the root of the components/rendering crate run the following command:
```bash
$ cargo run --example generate_sublime synpack sublime_syntaxes sublime_syntaxes/newlines.packdump sublime_syntaxes/nonewlines.packdump
$ cargo run --example generate_sublime synpack ../../sublime_syntaxes ../../sublime_syntaxes/newlines.packdump ../../sublime_syntaxes/nonewlines.packdump
```
### Adding a theme
A gallery containing lots of themes at https://tmtheme-editor.herokuapp.com/#!/editor/theme/Agola%20Dark.
More themes can be easily added to gutenberg, just make a PR with the wanted theme added in the `sublime_themes` directory
and run the following command from the repository root:
and run the following command from the root of the components/rendering:
```bash
$ cargo run --example generate_sublime themepack sublime_themes sublime_themes/all.themedump
$ cargo run --example generate_sublime themepack ../../sublime_themes ../../sublime_themes/all.themedump
```
You should see the list of themes being added.

@ -1 +1 @@
Subproject commit c07f58aaa4a7dc91b1b34497487f29320d0334d0
Subproject commit a290aa062eb00ad5cfc6d9c454c53fb0a534a913

Binary file not shown.

Binary file not shown.