spacemacs/init-extension/init-emacs-eclim.el

20 lines
618 B
EmacsLisp
Raw Normal View History

2012-12-27 20:50:48 +00:00
;; Variables
(setq eclim-auto-save t
eclimd-wait-for-process nil
help-at-pt-display-when-idle t
help-at-pt-timer-delay 0.1
)
2012-12-29 02:32:36 +00:00
;; Load both eclim and eclimd (so that we can control eclimd from within Emacs)
2012-12-27 20:50:48 +00:00
(require 'eclim)
(require 'eclimd)
2012-12-29 02:32:36 +00:00
;; Call the help framework with the settings above & activate eclim-mode
2012-12-27 20:50:48 +00:00
(help-at-pt-set-timer)
(global-eclim-mode)
(require 'ac-emacs-eclim-source)
(add-hook 'eclim-mode-hook (lambda ()
(add-to-list 'ac-sources 'ac-source-emacs-eclim)
(add-to-list 'ac-sources 'ac-source-emacs-eclim-c-dot)))