Isn’t view.settings().set() implemented in the ST2 alpha? The syntax doesn’t appear to change when I execute
view.settings().set('syntax', 'Packages/'+ syntax + '/' + syntax + '.tmLanguage')
where syntax is "XML", for example.
I’m trying to implement the DetectFileType plugin in ST2, to be able to detect .html.erb etc. in a reliable way.