Attached is a patch for the Lua textmate bundle to validate the syntax of the current buffer.  It behaves similar to the ruby validate syntax command, jumping to the first offending line if any.

Tim