[TxMt] OCaml Syntax Highlighting

Jeremy Cowgar jeremy at cowgar.com
Thu Sep 14 20:17:37 UTC 2006


Greetings,

I believe there is a problem in the OCaml syntax highlighting. It has  
to do with:

let xxx = 10
and yyy = 20

If you want it to color that correctly, you have to:

let xxx = 10 and
     yyy = 20

Can someone verify? I have posted two screen shots:

http://lifewithchrist.org/OCaml_tm.png <- wrong way
http://lifewithchrist.org/OCaml_tm_correct.png <- right way

Notice on the first image, how the vars turn italic and purple. But  
also notice how the try statement below does the exact same thing.

Jeremy




More information about the textmate mailing list