This was caused by the meta.rails.schema scope, which was added in e229357 to include table names in the symbol list for schema.rb files. However, this scope includes source.ruby only for within create_table … blocks, so everything outside these blocks did not get any syntax highlighting. (Nowadays it’s quite likely that schema.rb contains additional content like add_foreign_key statements and such.)
Screenshot demonstrating the missing syntax highlighting:
This was caused by the
meta.rails.schema
scope, which was added in e229357 to include table names in the symbol list for schema.rb files. However, this scope includessource.ruby
only for withincreate_table …
blocks, so everything outside these blocks did not get any syntax highlighting. (Nowadays it’s quite likely that schema.rb contains additional content likeadd_foreign_key
statements and such.)Screenshot demonstrating the missing syntax highlighting: