These days Sublime Text uses TextMate style syntax definitions in *.tmLanguage files. There’s an introduction at http://macromates.com/textmate/manual/language_grammars.
You can download existing ones from code.google.com/p/tmbundles4win/, the only caveat being that the files must have a .tmLanguage extension. Some already do, others have to be renamed from .plist to .tmLanguage to be recognised.
It’s worth noting that sublime uses Apple’s byzantine propertly-list-in-xml format, which is equivalent to what you see in the above documentation, but more verbose.
Any syntax definition that has file extensions associated with it appears as a selectable option, so if you make sure you have:
...
<key>fileTypes</key>
<array>
<string>some-extension</string>
</array>
...
then it’ll be an available choice.
Note that tmLanguage files are not presently auto reloaded, which I realise isn’t ideal.
wrt the settings, just make a *.sublime-options file with the same base name as the .tmLanguage file, and it’ll get picked up.
Below is a simple example of a definition that marks up *.sublime-options files, which will be included in the next beta:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>sublime-options</string>
<string>sublime-build</string>
</array>
<key>name</key>
<string>Sublime Options</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.sublime-options</string>
</dict>
</dict>
<key>match</key>
<string>(#).*$\n?</string>
<key>name</key>
<string>comment.line.number-sign.sublime-options</string>
</dict>
<dict>
<key>match</key>
<string>\b(:?[1-9]+[0-9]*|0)\b</string>
<key>name</key>
<string>constant.numeric.integer.decimal.sublime-options</string>
</dict>
<dict>
<key>match</key>
<string>\b(:?true|false)\b</string>
<key>name</key>
<string>constant.language.sublime-options</string>
</dict>
</array>
<key>scopeName</key>
<string>source.sublime-options</string>
</dict>
</plist>
Ctrl+Alt+P is a handy key binding to keep in mind as you’re developing a syntax definition, it shows you the name assigned to the character that’s just to the right of the cursor.