Updateing README.
This commit is contained in:
parent
e14dff7508
commit
8d5822d342
15
README
15
README
@ -24,22 +24,15 @@ or
|
|||||||
|
|
||||||
(add-hook 'haskell-mode-hook (lambda () (ghc-init) (flymake-mode)))
|
(add-hook 'haskell-mode-hook (lambda () (ghc-init) (flymake-mode)))
|
||||||
|
|
||||||
|
Customization:
|
||||||
|
|
||||||
Changes:
|
An example to specify GHC options:
|
||||||
|
|
||||||
If you have customized GHC import-path like follows,
|
|
||||||
|
|
||||||
(setq ghc-flymake-check-includes '("dir1" "dir2"))
|
|
||||||
|
|
||||||
You may update your settings as follows.
|
|
||||||
|
|
||||||
(setq ghc-ghc-options '("-idir1" "-idir2"))
|
(setq ghc-ghc-options '("-idir1" "-idir2"))
|
||||||
|
|
||||||
or
|
An example to specify HLint options:
|
||||||
|
|
||||||
(setq ghc-ghc-options '("-idir1:dir2"))
|
(setq ghc-hlint-options '("--ignore=Use camelCase"))
|
||||||
|
|
||||||
Now, you can simply pass GHC options to ghc-mod sub-commands.
|
|
||||||
|
|
||||||
|
|
||||||
For more information, see:
|
For more information, see:
|
||||||
|
Loading…
Reference in New Issue
Block a user