I'd like to get my Textmate bundles to use the correct contexts based on what I'm editing. For example I use YUI a lot so I'd like the HTML bundle to use the YUI JS bundle instead of the standard JS one, etc.
Can anyone suggest where and what I should be editing to make that happen. Bonus points for tips on bundle editing.