When two language packages define syntax and snippets for files with the same file extension, what determines the precedence?
For example, both
language-ruby-on-rails are available by default, as they are included in the so-called Core Package set, and the two packages share the
.rb file extension.
How can I make sure that Atom will by default treat
.rb file as, say,
source.ruby.rails instead of
source.ruby files in my projects?
[Incidentally, I have two Rails projects (folders) open in Atom. In one of them, Ruby is the default grammar for
.rb files, but it is Rails for the other project. And I have no idea of why…]