diff --git a/grammars.yml b/grammars.yml index 5db22c99..61cc4990 100644 --- a/grammars.yml +++ b/grammars.yml @@ -141,6 +141,8 @@ https://github.com/joshaven/RDoc.tmbundle: - text.rdoc https://github.com/jpcamara/Textmate-Gosu-Bundle/raw/master/Gosu.tmbundle/Syntaxes/Gosu.tmLanguage: - source.gosu.2 +https://github.com/kswedberg/jquery-tmbundle: +- source.js.jquery https://github.com/kuroir/SCSS.tmbundle: - source.scss https://github.com/laughedelic/sublime-idris/raw/master/Idris.tmLanguage: @@ -274,6 +276,8 @@ https://github.com/textmate/java.tmbundle: - source.java-properties - text.html.jsp - text.junit-test-report +https://github.com/textmate/javadoc.tmbundle: +- text.html.javadoc https://github.com/textmate/javascript-objective-j.tmbundle: - source.js.objj https://github.com/textmate/json.tmbundle: @@ -337,6 +341,12 @@ https://github.com/textmate/restructuredtext.tmbundle: - text.restructuredtext https://github.com/textmate/ruby-haml.tmbundle: - text.haml +https://github.com/textmate/ruby-on-rails-tmbundle: +- source.js.erb.rails +- source.ruby.rails +- source.ruby.rails.rjs +- source.sql.ruby +- text.html.erb.rails https://github.com/textmate/scheme.tmbundle: - source.scheme https://github.com/textmate/scilab.tmbundle: @@ -351,6 +361,13 @@ https://github.com/textmate/swift.tmbundle: https://github.com/textmate/tcl.tmbundle: - source.tcl - text.html.tcl +https://github.com/textmate/text.tmbundle: +- text.plain +https://github.com/textmate/textile.tmbundle: +- text.html.textile +https://github.com/textmate/textmate.tmbundle: +- source.regexp.oniguruma +- source.tm-properties https://github.com/textmate/toml.tmbundle: - source.toml https://github.com/textmate/verilog.tmbundle: diff --git a/script/prune-grammars b/script/prune-grammars index 51f49f3e..2e194b1f 100755 --- a/script/prune-grammars +++ b/script/prune-grammars @@ -46,7 +46,7 @@ language_scopes = Linguist::Language.all.map(&:tm_scope).to_set # The set of used scopes is the scopes for each language, plus all the scopes # they include, transitively. -used_scopes = language_scopes + language_scopes.flat_map { |s| transitive_includes(s, includes) }.to_set +used_scopes = language_scopes + language_scopes.flat_map { |s| transitive_includes(s, includes).to_a }.to_set unused = yaml.reject { |repo, scopes| scopes.any? { |scope| used_scopes.include?(scope) } }