Updateing README.

This commit is contained in:
Kazu Yamamoto 2013-03-03 15:55:22 +09:00
parent e14dff7508
commit 8d5822d342
1 changed files with 4 additions and 11 deletions

15
README
View File

@ -24,22 +24,15 @@ or
(add-hook 'haskell-mode-hook (lambda () (ghc-init) (flymake-mode)))
Customization:
Changes:
If you have customized GHC import-path like follows,
(setq ghc-flymake-check-includes '("dir1" "dir2"))
You may update your settings as follows.
An example to specify GHC options:
(setq ghc-ghc-options '("-idir1" "-idir2"))
or
An example to specify HLint options:
(setq ghc-ghc-options '("-idir1:dir2"))
Now, you can simply pass GHC options to ghc-mod sub-commands.
(setq ghc-hlint-options '("--ignore=Use camelCase"))
For more information, see: