textmate / ruby-on-rails-tmbundle

Ruby on Rails TextMate bundle [Learn it with PeepCode - http://peepcode.com/products/textmate-for-rails-2]
http://groups.google.com/group/rails-textmate
MIT License
15 stars 22 forks source link

Fix partially missing syntax highlighting in schema.rb files #30

Closed noniq closed 7 years ago

noniq commented 7 years ago

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: bildschirmfoto 2017-09-06 um 20 47 33

infininight commented 7 years ago

Pulled, thanks!