Reputation: 5540
I am rewriting my .emacs
. At the moment, .ml
files are well highlighted, whereas there is no mode for .mll
or .mly
files. Here is my .emacs, does anyone know how to amend it?
Additionally, am I using tuareg-mode
or ocp-indent
?
Upvotes: 2
Views: 323
Reputation: 896
I you want to use tuareg for .mll
and .mly
, you can add those lines:
(add-to-list 'auto-mode-alist '("\\.mll\\'" . tuareg-mode))
(add-to-list 'auto-mode-alist '("\\.mly\\'" . tuareg-mode))
You are using both tuareg and ocp-indent. But I think this is ocp-indent that is handling the indentation.
Upvotes: 2