emacs - Activate highlight code in haskell mode -
emacs - Activate highlight code in haskell mode -
i installed haskell-mode in order have highlighted code when editing *.hs files.
i have added next line init.el file:
(load "/usr/share/emacs/site-lisp/haskell-mode/haskell-package.el")
as can understand manual https://github.com/haskell/haskell-mode/wiki/syntax-highlighting, code should highlited automatically adding line, right?
i have added line
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
into init.el file see if anithing changes still nil haskell code.
it best utilize melpa install haskell-mode. should work out of box when utilize melpa. instructions going haskell-mode in manual:
http://haskell.github.io/haskell-mode/manual/latest/getting-started.html#getting-started
haskell emacs haskell-mode
Comments
Post a Comment