first-line file content matching for syntax highlighting
|Reported by:||Owned by:||Jonas Borgström|
Description (last modified by )
I know it's possible to set mime types in svn (which I'm using now), but it would also be nice to have a first-line match for syntax highlighting. Could then just add something like
/^#!.*perl/ go along with text/x-perl, and any matching file or code block could be detected as perl without a mime type being set (great for inline blocks, etc).