I have two .sublime-syntax files. And they apply to the same file extension. Which one will take precedence and how do I control that?
To be more concrete. There is File Icon plugin, which has whole bunch of .sublime-syntax files (I do not understand the reason, but that beside the point). One of such files declares “.idl” file extension and is supposed to cover VS files. But “.idl” is heavily overloaded extension. I use hand-crafted syntax file in my User plugin folder to highlight and index “.idl” files I work with.
Obviously, those syntax files are in conflict, and currently one form the File Icon plugin takes precedence. I circumvent that by editing the file. But I’m interested in more robust solution. Also, it would be nice to be able to know the rules of precedence, and plan accordingly.
The Sublime Text 4 version is used.