After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 320538 - Syntax highlighting for literate haskell files
Syntax highlighting for literate haskell files
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-02 17:53 UTC by Johannes Woolard
Modified: 2007-07-25 16:37 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Johannes Woolard 2005-11-02 17:53:02 UTC
please add syntax highlighting for literate haskell scripts (*.lhs).
These are normal haskell files (same syntax as *.hs) but executable lines are
prefixed with a '>'. The haskell syntax highlighting in place seems to work -
all that is needed is that *.lhs files are automatically highlighted
Comment 1 Johannes Woolard 2005-11-02 17:56:53 UTC
the mime type is "text/x-literate-haskell"
Comment 2 Paolo Maggi 2006-07-26 12:31:50 UTC
Could you please provide a patch for the haskell.lang file?

Is "text/x-literate-haskell" recognized as mime-type by shared-mime-info?
Comment 3 Paolo Borelli 2007-07-25 16:37:12 UTC
literate-haskell is now supported in gtksourceview 2