0

In emacs I have got the tuareg mode enabled in the top and the shell in the bottom without color syntax. How can I have color syntax in the shell?

In order to get here, I installed camllight using this script http://judicael.courant.free.fr/2015/02/20/installationcaml.html then, I installed melpa

M-x list-packages

to search and to install tuareg. And finally, I edited .emacs with (add to list 'load-path "home/pi/.emacs.d/lisp") where lisp is a directory which contain tuareg.el, camldebug.el, tuareg-site-file-el

emacs window:

emacs window

poyo
  • 1
  • 2

1 Answers1

0

The mode that you're looking for is not the one that comes with Tuareg. The guy in the video is using the inferior-ocaml mode that is a part of an old caml-mode that used to be distributed with the OCaml compiler. Unless you really want the exact setup as in the video, I would suggest you use a more modern Tuareg mode together with the OCaml Merlin. Otherwise, you should remove Tuareg and install caml-mode using M-x package-install <RET> caml-mode <RET> (see also the documentation on the Github page of the project for more details).

ivg
  • 34,431
  • 2
  • 35
  • 63