mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
1680736418
PR: ports/152726 Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
16 lines
635 B
Plaintext
16 lines
635 B
Plaintext
To use haskell-mode in Emacs, add the following lines to your ~/.emacs:
|
|
|
|
(load "%%PREFIX%%/share/emacs/site-lisp/haskell-mode/haskell-site-file")
|
|
|
|
Add the following lines according to which modules you want to use:
|
|
|
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan)
|
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
|
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
|
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
|
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent)
|
|
(add-hook 'haskell-mode-hook 'turn-on-font-lock)
|
|
|
|
Note that the three indentation modules are mutually exclusive - add at
|
|
most one.
|