Skip to content

Commit

Permalink
Update syntaxes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Prouillet committed Aug 10, 2017
1 parent dc2cea3 commit 8ce42a7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion sublime_syntaxes/Packages
Submodule Packages updated 59 files
+17 −14 C#/C#.sublime-syntax
+16 −7 C#/tests/syntax_test_Comments.cs
+32 −2 C#/tests/syntax_test_GeneralStructure.cs
+1 −1 C++/C++.sublime-syntax
+40 −0 C++/syntax_test_cpp.cpp
+70 −72 CSS/CSS.sublime-syntax
+100 −0 CSS/syntax_test_css.css
+1 −1 Go/Snippets/Type Function.sublime-snippet
+1 −1 Go/Snippets/func.sublime-snippet
+1 −1 Objective-C/Objective-C++.sublime-syntax
+40 −0 Objective-C/syntax_test_objc++.mm
+1 −1 PHP/Snippets/$GLOBALS[''].sublime-snippet
+1 −1 PHP/Snippets/$_COOKIE[''].sublime-snippet
+1 −1 PHP/Snippets/$_ENV[''].sublime-snippet
+1 −1 PHP/Snippets/$_FILES[''].sublime-snippet
+1 −1 PHP/Snippets/$_GET[''].sublime-snippet
+1 −1 PHP/Snippets/$_POST[''].sublime-snippet
+1 −1 PHP/Snippets/$_REQUEST[''].sublime-snippet
+1 −1 PHP/Snippets/$_SERVER[''].sublime-snippet
+1 −1 PHP/Snippets/$_SESSION[''].sublime-snippet
+1 −1 PHP/Snippets/Constructor.sublime-snippet
+1 −1 PHP/Snippets/PHPDoc-class-var.sublime-snippet
+1 −1 PHP/Snippets/PHPDoc-class.sublime-snippet
+1 −1 PHP/Snippets/PHPDoc-constant-definition.sublime-snippet
+1 −1 PHP/Snippets/PHPDoc-function-signature.sublime-snippet
+1 −1 PHP/Snippets/PHPDoc-function.sublime-snippet
+1 −1 PHP/Snippets/PHPDoc-interface.sublime-snippet
+1 −1 PHP/Snippets/Start-Docblock.sublime-snippet
+1 −1 PHP/Snippets/class-{-}.sublime-snippet
+1 −1 PHP/Snippets/define(-).sublime-snippet
+1 −1 PHP/Snippets/defined(-).sublime-snippet
+1 −1 PHP/Snippets/do-while(-).sublime-snippet
+1 −1 PHP/Snippets/echo-___.sublime-snippet
+1 −1 PHP/Snippets/elseif(-).sublime-snippet
+1 −1 PHP/Snippets/for(-).sublime-snippet
+1 −1 PHP/Snippets/foreach(-).sublime-snippet
+1 −1 PHP/Snippets/function-xx(-).sublime-snippet
+1 −1 PHP/Snippets/if(-)-else(-).sublime-snippet
+1 −1 PHP/Snippets/if(-).sublime-snippet
+1 −1 PHP/Snippets/if-a-b;.sublime-snippet
+1 −1 PHP/Snippets/include(-).sublime-snippet
+1 −1 PHP/Snippets/include_once(-).sublime-snippet
+1 −1 PHP/Snippets/require(-).sublime-snippet
+1 −1 PHP/Snippets/require_once(-).sublime-snippet
+1 −1 PHP/Snippets/return-$retVal;.sublime-snippet
+1 −1 PHP/Snippets/return-FALSE;.sublime-snippet
+1 −1 PHP/Snippets/return-TRUE;.sublime-snippet
+1 −1 PHP/Snippets/switch(-)-case.sublime-snippet
+1 −1 PHP/Snippets/switch(-).sublime-snippet
+1 −1 PHP/Snippets/throw.sublime-snippet
+1 −1 PHP/Snippets/try-{-___-}-catch-(___)-{-___-}.sublime-snippet
+1 −1 PHP/Snippets/while(-).sublime-snippet
+10 −6 Python/Python.sublime-syntax
+3 −0 Python/syntax_test_python_strings.py
+1 −1 R/R.sublime-syntax
+6 −0 R/syntax_test_r.R
+1 −0 Ruby/Ruby.sublime-syntax
+10 −0 Ruby/syntax_test_ruby.rb
+2 −2 YAML/YAML.sublime-syntax
Binary file modified sublime_syntaxes/newlines.packdump
Binary file not shown.
Binary file modified sublime_syntaxes/nonewlines.packdump
Binary file not shown.

0 comments on commit 8ce42a7

Please sign in to comment.