Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TextMate Haskell Bundle

I wonder that there is no Haskell TextMate Bundle. Macromates.com says that there was a bundle but it seems that it doesn't exists anymore. Are there any other ways to get Haskell Syntax Highlighting on TextMate?

like image 593
masi Avatar asked Dec 28 '10 15:12

masi


2 Answers

If you've got git installed, go into terminal and enter

cd ~/Library/Application\ Support/TextMate/Bundles/
git clone https://github.com/textmate/haskell.tmbundle.git

Then in TextMate, Bundles > Bundle Editor > Reload Bundles.

The syntax highlighter isn't perfect but usable. It gets confused on some comments and identifiers. I hacked it a little to fix it.

like image 102
Jason Reich Avatar answered Oct 11 '22 13:10

Jason Reich


Seems like the Bundles location changed, so I did

cd /Applications/TextMate.app/Contents/SharedSupport/Bundles

Apart from that I did as mentioned by Jason (git repo still works).

Or maybe I am wrong and you can just create that folder as in:

mkdir -p /Library/Application\ Support/TextMate/Bundles

(did not try doing that though, but saw it on another installation instruction -git bundle-)

PS: I am new here and I could not find a way to comment on his post (maybe I don't have permission for that yet?)

like image 42
Gus Neves Avatar answered Oct 11 '22 12:10

Gus Neves