[Emacs] Set haskell indent to 2 spaces
This commit is contained in:
parent
ff61b78ee9
commit
a5e4ceda24
@ -2669,6 +2669,7 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
|
|||||||
;; Disable haskell-stylish-on-save, as it breaks flycheck highlighting.
|
;; Disable haskell-stylish-on-save, as it breaks flycheck highlighting.
|
||||||
;; NOTE: May not be true anymore - taksuyu 2015-10-06
|
;; NOTE: May not be true anymore - taksuyu 2015-10-06
|
||||||
haskell-stylish-on-save nil)
|
haskell-stylish-on-save nil)
|
||||||
|
(setq haskell-indent-offset 2)
|
||||||
(require 'flycheck)
|
(require 'flycheck)
|
||||||
(delq 'haskell-stack-ghc flycheck-checkers)
|
(delq 'haskell-stack-ghc flycheck-checkers)
|
||||||
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
|
||||||
|
Loading…
Reference in New Issue
Block a user