mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 19:10:24 +10:00
Moving to Doom Emacs!
This commit is contained in:
22
.emacs.d/modules/lang/purescript/config.el
Normal file
22
.emacs.d/modules/lang/purescript/config.el
Normal file
@@ -0,0 +1,22 @@
|
||||
;;; lang/purescript/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(after! purescript-mode
|
||||
(add-hook! 'purescript-mode-hook
|
||||
#'purescript-indentation-mode
|
||||
#'rainbow-delimiters-mode)
|
||||
(set-lookup-handlers! 'purescript-mode
|
||||
:definition #'psc-ide-goto-definition
|
||||
:documentation #'purescript-pursuit))
|
||||
|
||||
|
||||
;; (use-package! flycheck-purescript
|
||||
;; :after purescript-mode
|
||||
;; :config
|
||||
;; (add-hook 'flycheck-mode-hook #'flycheck-purescript-setup))
|
||||
|
||||
|
||||
(use-package! psc-ide
|
||||
:hook (purescript-mode . psc-ide-mode)
|
||||
:config
|
||||
(remove-hook 'company-backends 'company-psc-ide-backend)
|
||||
(set-company-backend! 'purescript-mode 'company-psc-ide-backend))
|
||||
12
.emacs.d/modules/lang/purescript/packages.el
Normal file
12
.emacs.d/modules/lang/purescript/packages.el
Normal file
@@ -0,0 +1,12 @@
|
||||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/purescript/packages.el
|
||||
|
||||
;; As far as I can tell, at the moment, flycheck-purescript does not work well
|
||||
;; due to expecting the compiler to be psc rather than purs. However, one of
|
||||
;; purescript-mode or psc-ide seems to handle flycheck, so it might be
|
||||
;; unnecessary altogether.
|
||||
;;(package! flycheck-purescript)
|
||||
|
||||
(package! psc-ide)
|
||||
(package! purescript-mode)
|
||||
|
||||
Reference in New Issue
Block a user