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)))
|
||||
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user