lang/purescript: small improvements

This commit is contained in:
Valentin Robert 2017-05-21 14:05:04 -07:00
parent bd84e90f80
commit 07f1add557
2 changed files with 10 additions and 12 deletions

View file

@ -2,15 +2,14 @@
(def-package! purescript-mode
:mode "\\.purs$"
:init
(add-hook 'purescript-mode-hook #'flycheck-mode)
(add-hook 'purescript-mode-hook #'rainbow-delimiters-mode)
:config
(add-hook! 'purescript-mode-hook #'flycheck-mode)
(add-hook! 'purescript-mode-hook #'company-mode)
(add-hook! 'purescript-mode-hook #'purescript-indentation-mode)
(add-hook! 'purescript-mode-hook #'rainbow-delimiters-mode)
(load "purescript-mode-autoloads" nil t)
)
;; Seems broken at the moment
;; (def-package! flycheck-purescript
;; :after purescript-mode
;; :config
@ -21,12 +20,6 @@
:after purescript-mode
:config
(require 'psc-ide)
(add-hook! 'purescript-mode-hook
(lambda ()
(company-mode)
(psc-ide-mode)
(turn-on-purescript-indentation)
)
)
(add-hook! 'purescript-mode-hook #'psc-ide-mode)
)