Browse Source

Update syntaxes

index-subcmd
Vincent Prouillet 6 years ago
parent
commit
8ce42a7fcc
5 changed files with 6 additions and 6 deletions
  1. +1
    -1
      Cargo.lock
  2. +4
    -4
      README.md
  3. +1
    -1
      sublime_syntaxes/Packages
  4. BIN
      sublime_syntaxes/newlines.packdump
  5. BIN
      sublime_syntaxes/nonewlines.packdump

+ 1
- 1
Cargo.lock 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)",


+ 4
- 4
README.md 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
sublime_syntaxes/Packages

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

BIN
sublime_syntaxes/newlines.packdump View File


BIN
sublime_syntaxes/nonewlines.packdump View File


Loading…
Cancel
Save