Modify ↓
Opened 20 years ago
Closed 19 years ago
#1447 closed enhancement (fixed)
first-line file content matching for syntax highlighting
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | 0.10 |
Component: | general | Version: | 0.8.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
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).
Attachments (0)
Change History (1)
comment:1 by , 19 years ago
Description: | modified (diff) |
---|---|
Milestone: | → 0.10 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This has been implemented in r2653.