Since the Haskell syntax definition that comes with Sublime has a few bugs with regards to comments and lacks a few things (e.g. pragmas and number literals) I decided to make my own definition.
The new syntax is attached to this post. It’s the first version, so there’s probably some things I overlooked. Comments, bug reports and suggestions are welcome.
Below is a comparison shot of the new syntax (on the left) with the old syntax (on the right) for the file I used for testing, which shows a few of the errors in the old syntax.
Haskell2.zip (2.19 KB)