forked from colonelpanic/dotfiles
[Emacs] DFINITY haskell tweaks
This commit is contained in:
parent
1088dcfe78
commit
c845f54854
@ -2821,10 +2821,10 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
|
|||||||
;; Better import handling
|
;; Better import handling
|
||||||
haskell-process-suggest-remove-import-lines t
|
haskell-process-suggest-remove-import-lines t
|
||||||
haskell-process-auto-import-loaded-modules nil
|
haskell-process-auto-import-loaded-modules nil
|
||||||
;; Disable haskell-stylish-on-save, as it breaks flycheck highlighting.
|
|
||||||
;; NOTE: May not be true anymore - taksuyu 2015-10-06
|
|
||||||
haskell-stylish-on-save nil
|
haskell-stylish-on-save nil
|
||||||
haskell-tags-on-save nil
|
haskell-tags-on-save t
|
||||||
|
haskell-mode-stylish-haskell-path "brittany"
|
||||||
|
haskell-mode-stylish-haskell-args '("-")
|
||||||
haskell-indent-offset 2)
|
haskell-indent-offset 2)
|
||||||
(require 'flycheck)
|
(require 'flycheck)
|
||||||
(delq 'haskell-stack-ghc flycheck-checkers)
|
(delq 'haskell-stack-ghc flycheck-checkers)
|
||||||
@ -2833,6 +2833,7 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
|
|||||||
**** haskell-ide-engine
|
**** haskell-ide-engine
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package lsp-haskell
|
(use-package lsp-haskell
|
||||||
|
:disabled t
|
||||||
:config
|
:config
|
||||||
(add-hook 'haskell-mode-hook 'lsp))
|
(add-hook 'haskell-mode-hook 'lsp))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
@ -2840,6 +2841,7 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
|
|||||||
Intero seems to be causing hangs, so it has been disabled
|
Intero seems to be causing hangs, so it has been disabled
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package intero
|
(use-package intero
|
||||||
|
:disabled t
|
||||||
:after haskell-mode
|
:after haskell-mode
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
@ -2849,6 +2851,7 @@ Intero seems to be causing hangs, so it has been disabled
|
|||||||
**** hindent
|
**** hindent
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package hindent
|
(use-package hindent
|
||||||
|
:disabled t
|
||||||
:after haskell-mode
|
:after haskell-mode
|
||||||
:bind (:map hindent-mode-map
|
:bind (:map hindent-mode-map
|
||||||
("C-c d" . hindent-reformat-decl))
|
("C-c d" . hindent-reformat-decl))
|
||||||
|
Loading…
Reference in New Issue
Block a user