1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-05 13:11:43 +00:00

Added scala

This commit is contained in:
J. Fernando Sánchez 2016-11-10 18:24:30 +01:00
parent 1e449408bb
commit 9cca8b0e05

View File

@ -7,7 +7,8 @@
(package-initialize) (package-initialize)
(require 'package) (require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
(add-to-list 'package-archives '("melpa-stable" . "http://stable.melpa.org/packages/") t)
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t) (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
(unless (require 'quelpa nil t) (unless (require 'quelpa nil t)
@ -348,6 +349,20 @@
) )
) )
(use-package scala-mode
:interpreter
("scala" . scala-mode))
(use-package ensime
:pin melpa-stable
:config (progn
(setq ensime-startup-snapshot-notification nil)
(use-package flycheck-cask
:ensure t
:commands flycheck-cask-setup
:config (add-hook 'emacs-lisp-mode-hook (flycheck-cask-setup)))
))
(use-package org (use-package org
:ensure t :ensure t
:config (progn :config (progn
@ -692,5 +707,7 @@
;; Path ;; Path
(setenv "PATH" (concat (getenv "PATH") ":" (getenv "HOME") "/.bin" ":" (getenv "HOME") "/.local/bin")) (setenv "PATH" (concat (getenv "PATH") ":" (getenv "HOME") "/.bin" ":" (getenv "HOME") "/.local/bin"))
(setq exec-path (append exec-path (list (concat (getenv "HOME") "/.bin") (concat (getenv "HOME") ".local/bin")))) (setq exec-path (append exec-path (list (concat (getenv "HOME") "/.bin") (concat (getenv "HOME") ".local/bin") "/usr/bin")))
(provide '.emacs)
(provide '.init)
;;; init.el ends here