ocaml / tuareg

Emacs OCaml mode
GNU General Public License v3.0
363 stars 79 forks source link

Add configuration option(s?) to make highlighting behave closer to what it was like in 2.2 . #302

Open SylvainBoilard opened 2 years ago

SylvainBoilard commented 2 years ago

Hello,

I find myself unable to use the tuareg-highlight-all-operators option. After reading through #207 I tried enabling it inside Emacs using the customize-group function and even adding (setq tuareg-highlight-all-operators t) near the top of my .emacs file. Neither seem to work even after restarting Emacs.

I am using tuareg 3.0.1 from Opam with OCaml 4.14.0 within Emacs 27.1 .

SylvainBoilard commented 1 year ago

I have been trying to enable this option again and it actually does work, but I was very confused because the pipes, arrows, list constructors, parenthesis and other braces were not highlighted.

I have browsed through the issues and I understand this is how it is meant to work now. Could you add an option for highlighting those (especially the arrows and parenthesis/braces) please?

SylvainBoilard commented 1 year ago

Hi,

I got used to the way things work now, so unless anybody else wants this, you may consider this feature request as without object.

Cheers,