Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#5300 closed enhancement (fixed)

adding ocaml source type to known mime types

Reported by: micha-1@… Owned by: Christian Boos
Priority: low Milestone: 0.11
Component: version control/browser Version:
Severity: trivial Keywords: mimeview
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

may you add ocaml to the list of known mime types, to get the syntax highlighting working with recent pygments? in mimeview/api.py just add

'text/x-ocaml': ['ml', 'mli'],

thanks,

Michael

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 18 years ago

Keywords: mimeview added
Milestone: 0.11
Status: newassigned

Hello Michael,

I'll do it, as I think it'll be nice to support O'Caml out of the box, but in the meantime, this is also user configurable: see TracIni#mimeviewer-section.

comment:2 by Christian Boos, 18 years ago

Resolution: fixed
Status: assignedclosed

Added in r5371.

in reply to:  1 comment:3 by anonymous, 18 years ago

Replying to cboos:

Hello Michael,

I'll do it, as I think it'll be nice to support O'Caml out of the box, but in the meantime, this is also user configurable: see TracIni#mimeviewer-section.

of course this works. Sorry, I have overread this while reading the docu …

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.