Initialize it globally and turn it off where needed, instead of enabling it on demand. Also fixes void-function: flycheck-mode errors when :feature syntax-checker is disabled. This is experimental. Indirectly fixes #710
17 lines
399 B
EmacsLisp
17 lines
399 B
EmacsLisp
;;; lang/purescript/config.el -*- lexical-binding: t; -*-
|
|
|
|
(after! purescript-mode
|
|
(add-hook! 'purescript-mode-hook
|
|
#'(purescript-indentation-mode
|
|
rainbow-delimiters-mode)))
|
|
|
|
|
|
;; (def-package! flycheck-purescript
|
|
;; :after purescript-mode
|
|
;; :config
|
|
;; (add-hook 'flycheck-mode-hook #'flycheck-purescript-setup))
|
|
|
|
|
|
(def-package! psc-ide
|
|
:hook (purescript-mode . psc-ide-mode))
|
|
|