dd85084826
Define multiple dispatch functions for each service: - spacemacs//java-setup-backend - spacemacs//java-setup-auto-completion - spacemacs//java-setup-syntax-checking - spacemacs//java-setup-spell-checking - spacemacs//java-setup-eldoc java: replace ensime-configure-keybindings function by a variable It's not convenient to have key bindings in funcs.el file, instead of relying on a function we define a private layer variable java--ensime-modes which can be updated by other layers using a :pre-config use-package hook. java: refactor key bindings - define key bindings for meghanada back-end - move ensime key bindings documentation from scala layer to java layer - change SPC m d for daemon to SPC m D (since SPC m d is reserved for debugging)
21 lines
577 B
EmacsLisp
21 lines
577 B
EmacsLisp
;;; packages.el --- Java configuration File for Spacemacs
|
|
;;
|
|
;; Copyright (c) 2012-2017 Sylvain Benner & Contributors
|
|
;;
|
|
;; Author: Lukasz Klich <klich.lukasz@gmail.com>
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
;;
|
|
;; This file is not part of GNU Emacs.
|
|
;;
|
|
;;; License: GPLv3
|
|
|
|
;; variables
|
|
|
|
(spacemacs|define-jump-handlers java-mode)
|
|
|
|
(defvar java-backend 'meghanada
|
|
"The backend to use for IDE features. Possible values are `eclim', `ensime'
|
|
and `meghanada'.")
|
|
|
|
(defvar java--ensime-modes '(java-mode)
|
|
"Modes using ensime. Mainly used to define ENSIME key bindings.")
|