In Xcode 7, want to change the default syntax coloring (default is "None") for a given filetype (in this particular case, ".mod" file).
There is a plist file under /Applications/Xcode.app/Contents/OtherFrameworks/DevToolsCore.framework/Versions/A/Resources/Standard\ file\ types.pbfilespec
in which we can control the default settings for each language. For example, under "c.c" (there is also "c.h", both of which inherit from "c") there is an array "Extensions" containing one element "c". Ideally now I'd like to simply add a second item to the array here "mod". However, this did not change the default syntax highlighting for ".mod" files to have the same coloring as ".c" files (".c" files are still colored as before).
Does anyone know how to add a new default coloring for a given filetype?
More info on the plist: Standard file types.pbfilespec uses definitions in Built-in file types.pbfilespec, which contains e.g. a file type with identifier "sourcecode", which is what most file extensions ".c" etc. are. The specific syntax coloring settings for each language are specified in Built-in languages.pblangspec.