john answered about that: there is no precedence, both are loaded.
[quote=“jps”]
Currently there’s one shipped .sublime-syntax file, in YAML/YAML.sublime-syntax. The old YAML.tmLanguage is still there, but I’ve added:
<key>hidden</key>
<true/>
to the top, so it won’t show up in the Syntax menu. Keeping it around has two advantages:
- Any other tmLanguage files including YAML.tmLanguage will still work.
- Any users updating with an already open YAML file will have things continue to work as expected (the syntax file to use is determined once when a file is opened, and won’t be recalculated until the file is closed and reopened again).[/quote]