[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#273373: tuareg-mode: no syntax highlighting at all

On Thu, Sep 30, 2004 at 02:21:23PM +0200, Benoît Dejean wrote:
> the caml-mode is loaded when i open a ml file, but no colors

caml-mode is the other caml mode.  If you're running tuareg-mode it
should say "tuareg-mode" in the status bar.

FWIW, I have:


(setq auto-mode-alist (cons '("\\.ml\\w?" . tuareg-mode) auto-mode-alist))
(autoload 'tuareg-mode "tuareg" "Major mode for editing Caml code" t)
(autoload 'camldebug "camldebug" "Run the Caml debugger" t)
(if (and (boundp 'window-system) window-system)
    (require 'font-lock))
(add-hook 'tuareg-mode-hook
          '(lambda ()
             (setq tuareg-in-indent 0)
                                        ; no indentation after `in' keywords


Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
http://www.winwinsales.co.uk/ - CRM improvement consultancy

Attachment: signature.asc
Description: Digital signature

Reply to: