[TxMt] Specify file language from command line
Michael Twomey
micktwomey at gmail.com
Wed Jul 26 12:17:10 UTC 2006
Hi,
Is there any way to specify the language of a file from the mate command?
I'm using mate in the middle of shell pipe lines so there isn't any
filename to pick up on.
The simplest example is "svn diff | mate". While I can set the
language to diff, that becomes the default for all piped in text, so
"cat README | mate" will use the diff language instead of plain text.
Am I missing something very obvious? (mate -h doesn't appear to show
anything relevant).
cheers,
mick
More information about the textmate
mailing list