rewrite ensime-mode as bind

This commit is contained in:
Ivan Malison 2016-05-13 10:51:28 -07:00
parent b947ae9e69
commit da1a980b5e

View File

@ -2116,9 +2116,9 @@ window is active in the perspective."
:config :config
(progn (progn
(when (use-package ensime (when (use-package ensime
:commands ensime-mode :bind (:map ensime-mode-map
:config ("M-," . ensime-pop-find-definition-stack))
(bind-key "M-," 'ensime-pop-find-definition-stack ensime-mode-map)) :commands ensime-mode)
(add-hook 'scala-mode-hook 'ensime-scala-mode-hook)) (add-hook 'scala-mode-hook 'ensime-scala-mode-hook))
(setq scala-indent:align-parameters t))) (setq scala-indent:align-parameters t)))