Update Assembly and regenerate syntaxes

The packdumps contains the fixed Linker syntax too so it can be
used
This commit is contained in:
Vincent Prouillet 2017-04-22 10:46:38 +09:00
parent 873256ad5f
commit b822fe1d3b
6 changed files with 12 additions and 1 deletions

View file

@ -226,6 +226,12 @@ $ git submodule add https://github.com/elm-community/Elm.tmLanguage.git
Note that you can also only copy manually the updated syntax definition file but this means Note that you can also only copy manually the updated syntax definition file but this means
Gutenberg won't be able to automatically update it. Gutenberg won't be able to automatically update it.
You can check for any updates to the current packages by running:
```bash
$ git submodule update --remote --merge
```
And finally from the root of the repository run the following command: And finally from the root of the repository run the following command:
```bash ```bash

View file

@ -30,6 +30,10 @@ fn main() {
ps.load_plain_text_syntax(); ps.load_plain_text_syntax();
ps.load_syntaxes(package_dir, false).unwrap(); ps.load_syntaxes(package_dir, false).unwrap();
dump_to_file(&ps, packpath_nonewlines).unwrap(); dump_to_file(&ps, packpath_nonewlines).unwrap();
for s in ps.syntaxes() {
println!("Add {} -> {:?}", s.name, s.file_extensions);
}
}, },
(Some(ref cmd), Some(ref theme_dir), Some(ref packpath), None) if cmd == "themepack" => { (Some(ref cmd), Some(ref theme_dir), Some(ref packpath), None) if cmd == "themepack" => {
let ts = ThemeSet::load_from_folder(theme_dir).unwrap(); let ts = ThemeSet::load_from_folder(theme_dir).unwrap();

View file

@ -5,6 +5,7 @@ name: Assembly x86 (NASM)
file_extensions: file_extensions:
- asm - asm
- inc - inc
- nasm
scope: source.assembly scope: source.assembly
contexts: contexts:
main: main:

Binary file not shown.

Binary file not shown.

@ -1 +1 @@
Subproject commit 41f2b92d326d35c3a9261da4f99a43b4ad7f07e8 Subproject commit 150352f4d89d7fde48b18cc4b046385a6e926c96