[Emacs] Add purescript support

This commit is contained in:
Ivan Malison 2017-03-25 06:58:42 -07:00
parent c61b4e6616
commit 80519bd444
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -2793,6 +2793,18 @@ Intero seems to be causing hangs, so it has been disabled
:config :config
(add-to-list 'company-backends '(company-ghc :with company-dabbrev-code))) (add-to-list 'company-backends '(company-ghc :with company-dabbrev-code)))
#+END_SRC #+END_SRC
*** purescript
#+BEGIN_SRC emacs-lisp
(use-package purescript-mode)
(use-package psc-ide
:config
(progn
(defun imalison:purescript-mode-hook ()
(psc-ide-mode +1)
(turn-on-purescript-indentation))
(add-hook 'purescript-mode-hook 'imalison:purescript-mode-hook)))
#+END_SRC
*** C/C++ *** C/C++
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package cc-mode (use-package cc-mode