I’d like to set the default syntax to Ruby for files that do not have dot extensions (e.g. Gemfile, Guardfile). It seems the extensions key in Ruby.sublime-settings files only applies to dot extensions. Rakefile defaults to Ruby syntax, and this seems to be defined in Ruby.tmLanguage. Is there a way to add these other filenames in a user-specific settings file so I don’t have to modify the core tmLanguage file?
Related question: How would I extend this to other types of path/filename pattern matching? Like, if I wanted foo.rb to default to Ruby but foo_spec.rb to default to RSpec.
Thanks!