Browse Source

Update Assembly and regenerate syntaxes

The packdumps contains the fixed Linker syntax too so it can be
used
index-subcmd
Vincent Prouillet 7 years ago
parent
commit
b822fe1d3b
6 changed files with 12 additions and 1 deletions
  1. +6
    -0
      README.md
  2. +4
    -0
      examples/generate_sublime.rs
  3. +1
    -0
      sublime_syntaxes/Assembly x86.sublime-syntax
  4. BIN
      sublime_syntaxes/newlines.packdump
  5. BIN
      sublime_syntaxes/nonewlines.packdump
  6. +1
    -1
      sublime_syntaxes/sublimeassembly

+ 6
- 0
README.md 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
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:

```bash


+ 4
- 0
examples/generate_sublime.rs View File

@@ -30,6 +30,10 @@ fn main() {
ps.load_plain_text_syntax();
ps.load_syntaxes(package_dir, false).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" => {
let ts = ThemeSet::load_from_folder(theme_dir).unwrap();


+ 1
- 0
sublime_syntaxes/Assembly x86.sublime-syntax View File

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


BIN
sublime_syntaxes/newlines.packdump View File


BIN
sublime_syntaxes/nonewlines.packdump View File


+ 1
- 1
sublime_syntaxes/sublimeassembly

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

Loading…
Cancel
Save