diff --git a/README.md b/README.md index 204e4b3..b57ab61 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/examples/generate_sublime.rs b/examples/generate_sublime.rs index 82beef8..3f73ae9 100644 --- a/examples/generate_sublime.rs +++ b/examples/generate_sublime.rs @@ -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(); diff --git a/sublime_syntaxes/Assembly x86.sublime-syntax b/sublime_syntaxes/Assembly x86.sublime-syntax index 0500e2c..98a74a6 100644 --- a/sublime_syntaxes/Assembly x86.sublime-syntax +++ b/sublime_syntaxes/Assembly x86.sublime-syntax @@ -5,6 +5,7 @@ name: Assembly x86 (NASM) file_extensions: - asm - inc + - nasm scope: source.assembly contexts: main: diff --git a/sublime_syntaxes/newlines.packdump b/sublime_syntaxes/newlines.packdump index 3d0f6c2..1830069 100644 Binary files a/sublime_syntaxes/newlines.packdump and b/sublime_syntaxes/newlines.packdump differ diff --git a/sublime_syntaxes/nonewlines.packdump b/sublime_syntaxes/nonewlines.packdump index 2cae053..e5c1780 100644 Binary files a/sublime_syntaxes/nonewlines.packdump and b/sublime_syntaxes/nonewlines.packdump differ diff --git a/sublime_syntaxes/sublimeassembly b/sublime_syntaxes/sublimeassembly index 41f2b92..150352f 160000 --- a/sublime_syntaxes/sublimeassembly +++ b/sublime_syntaxes/sublimeassembly @@ -1 +1 @@ -Subproject commit 41f2b92d326d35c3a9261da4f99a43b4ad7f07e8 +Subproject commit 150352f4d89d7fde48b18cc4b046385a6e926c96