Add haskell configuration in its own separate file
This commit is contained in:
parent
42ebb1394d
commit
79a7451546
6 changed files with 81 additions and 44 deletions
|
|
@ -5,7 +5,7 @@
|
|||
(require 'package)
|
||||
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
|
||||
(package-initialize)
|
||||
(if (display-graphic-p) ; If GUI version
|
||||
(if (display-graphic-p) ; Run this only if there's GUI
|
||||
(progn
|
||||
(package-refresh-contents))) ; Refresh only once, on startup
|
||||
|
||||
|
|
@ -193,6 +193,12 @@
|
|||
(unless (package-installed-p 'haskell-mode)
|
||||
(package-install 'haskell-mode))
|
||||
|
||||
(unless (package-installed-p 'scion)
|
||||
(package-install 'scion))
|
||||
|
||||
(unless (package-installed-p 'company-ghci)
|
||||
(package-install 'company-ghci))
|
||||
|
||||
;; Scala
|
||||
(unless (package-installed-p 'scala-mode)
|
||||
(package-install 'scala-mode))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue